wysiwyg

Java WYSIWYG HTML editor [closed]

我的未来我决定 提交于 2019-11-30 12:57:23
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm working on a project and need a simple, free, Java HTML WYSIWYG editor. Can anyone point me in the right direction?. It only has a small space to fit into, so something fairly simple would be best. 回答1: Ekit seems fairly light (160Ko in one jar, source and jar here) 回答2: I was searching for the same stuff.

building a wysiwyg editor

我们两清 提交于 2019-11-30 12:09:07
问题 I need to build a wysiwyg editor for a project I am working on and need some guidance. Some of my key points of confusion are the following: iframe docs vs. contenteditable divs : which one should I use and why? I hate iframes, is there a clear advantage to using iframes? cross browser styling : execCommand seems to apply different styles in different browsers. Are there any tricks to making this cross-browser compatible? Should I not use execCommand at all and instead apply my own styles?.

How to force <br> line break in Firefox ContentEditable

本小妞迷上赌 提交于 2019-11-30 11:37:28
I have a JavaScript WYSIWYG editor (not unlike CKEditor) running on a site. It has a setting that makes IE create <br> line breaks when you press Enter in the editor. That works great, but unfortunately, Firefox (I've tested with 5 and 7) will still generate <p> elements, and generate <br> s only if you use Shift + Enter . Is there a way to make Firefox always generate <br> elements in a contentEditable? From looking at the standards, it looks like this action is the way it is supposed to be handled. Blocks are broken when no modifier is set on an enter key, and <br> 's are used when shift is

Compare TinyMCE and CKeditor for a Wiki

旧巷老猫 提交于 2019-11-30 10:54:57
For a custom wiki django-wakawaka , i want to be able to add a WYSIWYG support. TinyMCE is obviously the most popular plugin, used even by Wordpress. But CK-editor seems more feature full. Those who have used either of these or both, which is better and why. Are there some better packages, that I am missing? Is there something that I am missing when I conclude CKeditor is better, by going through them (because it is not as widely used). I want to use it with django and jquery, with multiple instances of WYSIWYG widget per page. Does one offer advantage over the other. I spent some time

Node.js (sails.js) wysiwyg editor - images

别来无恙 提交于 2019-11-30 10:24:43
Is there a way to use any WYSIWYG/html editor in the sails app? I can't find any manuals to do that. Seems like Mercury is well-supported in Node but I can't find a way to adapt sails for it either. :( Please guide me OK now, it turned up to be easy to connect TinyMCE (just as easy as described on http://www.tinymce.com/wiki.php/Installation ). So now another major question comes out: is there any Node.js connector to any editor for uploading images and stuff? Or just how can I allow user to upload an image and insert it to a post body? Thanks Yay! Finally did it! At last I used the CKEditor

Javascript - Change font color of certain text in textarea

徘徊边缘 提交于 2019-11-30 09:29:36
Is there any JS function that can change the color of certain text in a textarea? For example, blar blar {blar} blar, {blar}, including { }, will be in blue. Other words will be in blank. In other words, all I need is a function that can change color of all text in { }. I've done some studies and it seems that most people say it can't be done. But I'm seeing rich text editors or those wysiwyg editors having the ability to bold or underline words. There must be a way to do it. Any suggestion is welcome. No one mentioned contentEditable? Just make a contentEditable div and use javascript to

Add linebreak to textContent or innerText only - in Chrome

随声附和 提交于 2019-11-30 09:19:42
This is a complicated one! Im working with contentEditable in Chrome and I'm experiencing a head melting problem. When I press the return key, Chrome inserts a new div into the innerHTML. This is fine and dandy. The problem is that the line break is nowhere to be found in the div's textContent. I really need to figure out a way to add the line break to the textContent in the same place as the div break in the innerHTML. Any Ideas? UPDATE: I can use innerText but then line breaks that are there when the page loads are ignored. I need consistency across one of these methods. In other words, I

Sitecore Rich Text Html Editor Profile - set global default

亡梦爱人 提交于 2019-11-30 08:23:54
OK I can't believe this can't be found anywhere so I'm asking the question. Is there a way to set the default Html Editor Profile in Sitecore so I don't have the override the Source field on each individual Rich Text field? e.g. I want to make this the default option for the Html editor: /sitecore/system/Settings/Html Editor Profiles/Rich Text Medium MattyC Its an old question but here is the solution I found in Sitecore 6.5 - I was looking to do the same thing in 6.5: You can change the value to the path of your default editor in the web.config. This will change is across all fields where the

WYSIWYG image uploads in Rails App

十年热恋 提交于 2019-11-30 06:58:44
问题 Can anyone recommend a way of creating a view where users can upload images to my app through a WYSIWYG editor? I've tried solving this using CK Editor and Paperclip but am having lots of trouble... Maybe I'm going about this the wrong way. If someone's done this before I'd really like to know how! I don't have a editor or file storage mechanism preference so fire away... 回答1: This is all dependent on the WYSIWYG's file upload API. From there, just build an ImagesController to handle requests

What's the best HTML WYSISYG editor available to web developers and why? [closed]

倾然丶 夕夏残阳落幕 提交于 2019-11-30 06:57:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . There are many different flavored HTML WYSIWYG editors from javascript to ASP.Net web controls, but all too often the features are the same. Does anyone have a favorite HTML editor they like to use in projects? Why? 回答1: I'm partial to TinyMCE WYSIWYG editor due to the following reasons: Javascript - so it is