WYMeditor 0.3 package includes two simple plugins which demonstrate how easy it is to write plugins for WYMeditor.


This plugin improves visual feedback by:

  • displaying a tool's title in the status bar while the mouse hovers over it.
  • changing background color of elements which match a condition, i.e. on which a class can be applied.


This plugin is a little bit more advanced, and comes in two parts: a JS file which extends WYMeditor prototype and uses AJAX to post content to a PHP file which gets the content, cleans it up with Tidy, and returns the result.

See Writing Plugins for more info on plugins.