Best Rich Text Editor Your voice matters
#1
Posted 10 October 2009 - 03:25 PM
Please share your positive and negative experience.
(Voting on poll, please take in consideration such aspects as Clean resulting code, Compatibility with other javascripts, and so on.)
MarkItUp (site). Dependencies: jQuery. Markup: Html, Textile, Wiki Syntax, Markdown, BBcode, Dotclear.
(examples)
Wymeditor (site). Dependencies: jQuery. Markup: Html.
(examples)
CKEditor (site). Dependencies: none. Markup: Html.
(examples)
TinyMCE (site). Dependencies: none. Markup: Html.
(examples)
NicEdit (site). Dependencies: none. Markup: Html.
(examples)
To Yii Team: pinning this or similar topic is welcome. Most of Web 2.0 projects require a rich text editor. Yii is the best for Web 2.0 development (my yii experience proves me this).
#2
Posted 11 October 2009 - 10:52 AM
#4
Posted 11 October 2009 - 03:19 PM
I use Wymeditor, since it suits my needs and users cant screw pages with bad markup.
#7
Posted 12 October 2009 - 06:15 AM
Then we tried CKEditor, it may handle N dialogs, but we have to destroy all instances of the editor in the dialog when user presses cancel button. And skins in the dialog are not working for IE (works great in Firefox, Chrome, and others).
For our current project we are going to try MarkItUp, and if time allow, next one will be Wymeditor.
Thanks for reading!
#8
Posted 12 October 2009 - 11:02 AM
Quote
Do you modify your website using a content management system (CMS)? Do you allow your clients to modify their website with a CMS?
If yes, you have certainly met de difficult choice of a web-based (X)HTML editor.
* You may have tried a full-featured WYSIWYG editor, but you apprehend that your clients use it inappropriately, with the risk it degenerates visually and on the code quality.
* You may also have tried the BBcode syntax, Markdown or the wiki-style syntax, but you don't want to force your clients to solutions that are too technical/complex for them, even if it tends to generate good quality code.
Problem with full-featured WYSIWYG editor like CKEditor, TinyMCE etc. is that you can style content in a different way from the main site, so it could "degenerate visually". MarkItUp with markdown is very good but it could be complex for newbie users. I think WYMeditor would be a good compromise as it's more "visual" than MarkItUp, still you change the content structure without altering the main site styling.
#10
Posted 14 October 2009 - 03:37 AM
ekerazha, on 12 October 2009 - 11:02 AM, said:
Problem with full-featured WYSIWYG editor like CKEditor, TinyMCE etc. is that you can style content in a different way from the main site, so it could "degenerate visually". MarkItUp with markdown is very good but it could be complex for newbie users. I think WYMeditor would be a good compromise as it's more "visual" than MarkItUp, still you change the content structure without altering the main site styling.
#11
Posted 16 October 2009 - 05:40 PM
Andrey G., on 14 October 2009 - 03:37 AM, said:
Yes, but the user could customize the content style (color ecc.) in ways that are not coherent with the main template, while Wymeditor is specifically designed to only customize the structure and not the style.
#13
Posted 08 April 2010 - 07:59 AM
However it does not work on IE 6 and im not sure if on IE 7 and further development seems to be inactive...
#15
Posted 27 April 2010 - 05:58 AM
ekerazha, on 08 April 2010 - 08:37 AM, said:
whats the difference between CKEditor and nCKEditor? there are two extensions that seem to do the same thing..
Junior
df9.com.br
Linux Registered User #364954
GNU/Linux: together we're ready!
#16
Posted 12 July 2010 - 04:12 AM
Quote
nothing difference, it was the same.
i use ckeditor3.x + ckfinder2.x now, its very cool.
the new ckfinder2.x now is more restricted, a lot of code encrypted. it's really hard.
i try xinha too, its very cool, you can crop the image!
never see this feature in tiny or ckeditor (althought i hear fckeditor have crop2size)
the bad for xinha, cannot global asignment like ckeditor
<textarea class="ckeditor">global asignment</textarea>
everytime you asigned new editor you must write the id to js file
i dont know, maybe i must experiment more deep..
#18
Posted 16 February 2011 - 06:01 AM
(Argh, first post, not allowed to embed links: "www dot cdolivet dot com" then click on editArea in the sidebar )
And it works pretty well! :-)
#19
Posted 17 February 2011 - 05:04 AM
phpdevmd, on 12 October 2009 - 06:15 AM, said:
Then we tried CKEditor, it may handle N dialogs, but we have to destroy all instances of the editor in the dialog when user presses cancel button. And skins in the dialog are not working for IE (works great in Firefox, Chrome, and others).
For our current project we are going to try MarkItUp, and if time allow, next one will be Wymeditor.
Thanks for reading!
I fixed that problem with TinyMCE. It is due that you haven't remove previous references to the editor. I use extensively AJAX and that problem was just that. Here my useful functions:
var tinyEls = [];
// once ajax content has been loaded
// this function will recreate the editor
function addTiny(a) {
if (window.tinyMCE) {
if (tinyEls.length == 0) tinyMCE.idCounter = 0;
tinyMCE.execCommand("mceAddControl", false, a);
tinyEls.push(a)
}
}
// add content to tiny (not really needed)
function addText2Tiny(a, B) {
tinyMCE.execInstanceCommand(a, "mceSetContent", false, B)
}
// remove all created
function removeTiny() {
$.each(tinyEls, function () {
tinyMCE.execCommand("mceRemoveControl", false, this)
});
tinyEls = []
}
// remove a specific one
function extractTiny(a) {
var b = $.inArray(a, tinyEls);
if (B) {
tinyMCE.execCommand("mceRemoveControl", false, a);
tinyEls.splice(b, 1)
}
}
I remove it from the document (using extractTiny or removeTiny) before erasing the HTML tags holding the editor (getting its contents of course and set them to their appropriate TEXTAREA tags) and when I load a new one, I just call the addTiny method passing the ID of the newly added TEXTAREA tag.
PS: I normally use tinyMCE as you may guess
www.ramirezcobos.com
www.yiianswers.com
www.2amigos.us
www.getyiistrap.com
www.github.com/tonydspaniard
www.github.com/2amigos
#20
Posted 17 February 2011 - 02:13 PM

Help

This topic is locked
















