The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

WYSIWYG editors

Submitted by nk on Mon, 2008-04-28 19:24

In short, htmlbox is best currently, NowPublic will contribute back numerous fixes and will deploy it on its production servers tomorrow or so. Research done mostly by Balázs Nagykékesi for NowPublic.

  • wymeditor supports IE6+ and Gecko browser. Opera support is experimental, and Safari is not even listed currently.
  • jwysiwyg still has to improve a lot. I've tried the demo version ( http://projects.bundleweb.com.ar/jWYSIWYG/ ) on Firefox and it was sort of disappointing, with a single enter more than one enter was inserted, i could not switch off the bold tag. Anyway, it's only at version 0.3.
  • nicEdit seems very promising but it still needs to improve in my opinion. Demo: http://nicedit.com/demos.php
    • no idea if this is only a configurational problem but when you hit the bottom of the editor it does not introduce a scrollbar but make the editor have one more line. Anyway it has other problems as well:
    • IE6 is reloading the buttons at every click / every key pressed in the textarea
    • In Opera at every key pressed the sidebar block moves up a bit on the demo page.
    • also the current version is 0.9.0b. A few iterations later it might turn out to be good addition.
  • widgEditor - http://www.themaninblue.com/experiment/widgEditor/ is an other promising plugin, though it has problems as well.
    • For Firefox when you paste a HTML text it asks you if you want to strip the HTML tags. Even if you press OK, it wont do it. On Opera it will do even if you press cancel, and the popup wont show sometimes at all.
    • this might be the most serious problem: it reloads the buttons at every click/key press on IE6.
    • link insertion is done with a real ugly CSS, but i hope that can be tweaked. there's no settings though to make the link open in a new window.
  • whizzywig http://www.unverse.net/wysiwyg-multi.html
    • one has to click into the textarea after pressing a formatting button in Firefox or IE6 or Safari
    • in IE6 if one clicks 2 buttons only the first will be taken
    • link insertion is somewhat primitive. It does not include http:// as a default, but provides a button for the user to do it. Also after specifying a link and then inserting an other will show the previous link settings and not a clear form.
    • bold and italic buttons are not working on Safari for windows
  • xstandard - no demo available, but there's a review at http://drupal.org/node/208456 (i got this link from Zlender):
    • "Once I downloaded it, it comes in an installer. That's a bit odd, but I ran it anyway. It turns out, this is an editor plugin for your computer. Even though it does not take replace the text box by default, XStandard made it very easy to figure out which field IDs needed to be added to use the editor." So if i get it right it's not a server side but a client side plugin.
  • YUI editor - http://developer.yahoo.com/yui/examples/editor/simple_editor_clean.html#
    • the drupal YUI editor module is developed for D6, there is only a development snapshot for D5.
    • button highlight is bugged for FF2, IE6, Safari, Opera
    • clicking a button in IE6 will have some unpredictable behaviour - not that easy to say if it's working even though you've pressed it
    • after clicking a button the focus is placed at the beginning of the textarea on IE6
  • FCKEditor - http://www.fckeditor.net/demo
    • Opera support is available for 9.5+, current stable release is 9.27
    • Safari support since version 3+, Safari 2 might not be supported
    • Safari: pressing the Bold, Italic buttons wont toggle the new style, though it will work just fine if one selects a text and applies the changes on it.
    • Safari: w/o selecting a text first adding a link will fail. Other browsers will include a link with the url as title on this situation.
    • have to see if the extra tabs on the link insertion window can be stripped.
    • configurable
  • HTMLBox http://remiya.com/demos/htmlbox/
    • looks pretty good.
    • opera nested list is bugged, though other editors seem to have that problem as well.
    • also for opera if you post a link and the link's end is the last character you will be stuck in link text edition unless you edit the source itself.
  • WMDEditor - http://wmd-editor.com/demo
    • this editor will not overtake textareas, it just provides tools to insert style elements similar to our trac wiki. It does not make it easy for a random user to see that there is a bold text (because bold text looks like: *i am bold* ) if i get it right.
  • markitup - http://markitup.jaysalvat.com/examples/html/
    • same us previous

Commenting on this Story is closed.

Submitted by AdrianB@drupal.org on Mon, 2008-04-28 21:12.

What about the popular TinyMCE? One of the most popular of all Drupal modules and used by WordPress as well.

Submitted by bryansd@drupal.org on Mon, 2008-04-28 23:21.

Thanks for the list of rich text editors, it must have taken quite a bit of time to do the review. I too wonder if TinyMCE was an intentional omission or not?

One of the difficulties I have found with WYSIWYG is trying to find the correct balance in configuration between the various editors and Drupal's input filters. This is especially true if you change your choice of editors or go back to doing without an editor. There are solutions of course...but sometimes not without pulling hair (something I can least afford losing these days). I suppose this is one of the reasons seeing WYSIWYG in Drupal's core could be a benefit. An editor already preconfigured for the Drupal way...

Submitted by wuf31@drupal.org on Tue, 2008-04-29 03:11.

Okay, but unfortunately drupal doesn't seem to support htmlbox
AFAIK

Submitted by travisc@drupal.org on Tue, 2008-04-29 05:30.

Since at least D4.6 tinyMCE was IMO the goto WYSIWYG editor (the only other option at the time was FCKeditor). It's not even on this list.

Submitted by Morbus Iff@drup... on Tue, 2008-04-29 11:50.

Anyone doing their own five minutes worth of research would find that NowPublic is /already/ using TinyMCE. This "best" module of Drupal is what NowPublic is trying to /get away/ from.