WYSIWYG editor usability tip

Written at 14:29, on Wednesday 19 September 2007. Tags: drupal usability webdesign .

Open Source WYSIWYG editing in CMS still sucks, but with developments like the WYMeditor (“What You Mean” editor, built on jQuery) the situations is improving steadily. This editor lets content writers focus on the structure of their document instead of visual layout. As you can see, this editor provides subtle clues about the type of content you’re currently editing with a clever stylesheet. Unfortunately, the WYMeditor is still in early beta, and Drupal’s module lags a couple of versions behind.

WYMEditor in its default configuration

Until it’s finished though, it’s very use to use the WYMEditor stylesheet in your current editor (I mostly recommend FCKEditor in a stripped configuration, but TinyMCE works just as well). The stylesheet used by WYMEditor makes it very clear wether you’re editing a block level element or an inline element. It adds little icons to signify the semantics of the elements. This makes it very easy to determine if there are any stray headers or paragraphs in your content, a problem that often occurs after copious editing but that is nearly impossible to fix without editing the source code.

Using this stylesheet in your own editor is very easy. Just download a copy of WYMeditor, extract it and copy the entire contents of the iframe/default/ directory to a speficic location on your webserver. In FCKEditor, you can edit the file fckeditor/fckconfig.js and edit line 32, which states:

FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ;

The last part (css/fck_editorarea.css) points to the location of the CSS used by FCKEditor’s textarea. Adjust it to reflect the location of WYMeditor’s CSS file, which is called wymiframe.css.

Note that it’s not necessary to manually adjust this file if you use the Drupal module for FCKEditor. Just go to admin/settings/fckeditor and put the location of wymiframe.css in the Custom stylesheet field, like this:

Obviously, adjust your path to your own location

That’s it! Happy editing!

Add comment. (2 total) |

2 Comments so far

This is a such a huge issue in training users of CMS systems whether it’s Joomla, Drupal or anything else. I would like to see a system that works as close to Microsoft Word as possible. When I talk with end users they all want the ease of use associated with MS word in their CMS editor.

Thank you for good script.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • You can use Textile markup to format text.
  • SmartyPants will translate ASCII punctuation characters into “smart” typographic punctuation HTML entities.
  • Insert Flickr images: [flickr-photo:id=230452326,size=s] or [flickr-photoset:id=72157594262419167,size=m].
  • Web page addresses and e-mail addresses turn into links automatically.

From the portfolio

  • Cover page for my thesis abstract.

About this website

My name is Jeroen Coumans, I'm a freelance web designer, front-end developer and Drupal ninja from the Netherlands. I love to create beautiful, usable and accessible websites. On this website, you can find my portfolio as well as my personal weblog. Interested in hiring me? I'd love to hear from you.

After completing my BA in Arts and Culture I'm now doing a MA in Communication and Multimedia Design. More …

Elsewhere

Script to update Drupal teasers | be fused

"One of the annoying things about changing the number of characters for teasers in Drupal is that you have to edit and save every single node (page, story etc) for the change to take effect. Well, it doesn't have to be that difficult, because here is a nice little script that will update all of the teasers at once."

Add comment | Visit site …

Degrading Script Tags

Reducing the number of tags required for loading an external javascript library by combining them into one tag. "Only one tag – and the semantics would work like this: The external script would attempt to be loaded (as normal). If the load and execution was error-free then the internal script would be executed as well. If the load or execution failed then the internal script would not be executed. "

Add comment | Visit site …

Aurora: What Is Internet’s Atomic Level?

"For Aurora we saw an opportunity to change the browser’s focus from the page to the individual “object”. Giving users the ability to interact directly with the atomic parts of a given web page offered greater personalization of their Internet experience. " This has interesting repercusions for webdesign as well.

Add comment | Visit site …

The Joker Action Figure

These toys set a new bar for realism.

Add comment | Visit site …

Google Chrome Process Manager

John Resig, jQuery creator & Mozilla hacker, writes about the significance of the process manager in Google Chrome: "The blame of bad performance or memory consumption no longer lies with the browser but with the site."

Add comment | Visit site …

Surface: een Natural User Interface

(dutch) An overview of the Natural User Interface, a term coined by Microsoft for their Surface concept.

Add comment | Visit site …

Official Google Blog: A fresh take on the browser

Should be released any time now, curious if the screenshots in the comic are like the browser.

Add comment | Visit site …

Mozilla Labs » Introducing Ubiquity

Ubiquity is "experiment into connecting the Web with language in an attempt to find new user interfaces that could make it possible for everyone to do common Web tasks more quickly and easily." A command-line for the web, connecting services through a hotkey.

Add comment | (1 comments) Visit site …

Mariët Ruiter 3150801: Kritische literatuursynopsis

Critical comparison of mine and Selwyn's vision on the Digital Divide.

Add comment | Visit site …

IEBlog : Internet Explorer 8 Beta 2 Now Available

Will Microsoft make new virtual machines available for testing purposes? I hate buying another Windows license just to get my testing setup of IE6, IE7 and IE8 complete…

Add comment | Visit site …

Subscribe

Or choose one of the single feeds:
Journal feed | Elsewhere feed