nicEdit WYSIWIG Editor
Integrates the nicEdit WYSIWYG editor into a Drupal site. See http://nicedit.com for more details.
A 5.x-1.x-dev version exists, but it's not showing up in the downloads, for some unknown reason.
Unlike other Drupal modules that integrate 3rd party components, you do do not need to download anything extra to make this work. This works out-of-the-box because nicEdit hosts the latest stable version of the editor on their website, and Drupal can reference it there. However, you may wish to download a stable copy of the nicEditor and put it in the same directory as the module. See INSTALL.TXT
A link to show html/editor is also available. @TODO: add user option to always disable the editor.
Site administrators can define which buttons to use site-wide. @TODO: make this a role based option.
Site administrators can easily disable/enable individual textarea fields using a link that is visible only to them. Site developers can also disable/enable individual textarea fields by overriding theme_nicedit().
See the source code for a more detailed example, but basically, you can implement:
function yourtheme_nicedit($page, $name, $enabled) {
return $enabled;
}This module is under development and very new, stable enough to install and try, but not functional enough yet for a live site.
Known bugs (last updated on 12/30):
- when switching from editor-to-html and back, changes are not carried forward
- UPDATED 12/30 html uses <span style="...">, which gets converts to standard HTML on form submit. Bold, Italic, Underline, and Center now work. While Font-Family and Right-Align do not work, I think that very little code is needed, and anyone interested in helping should look at the styles array in _nicedit_postprocess_textarea().
.
See also this introduction article: nicEdit - a new text editor for Drupal.
This module is partially supported by CivicActions.
Releases
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-1.x-dev | 2007-Dec-24 | 11.94 KB | Download · Release notes | Development snapshot | |
| 5.x-1.x-dev | 2008-Mar-05 | 14.44 KB | Download · Release notes | Development snapshot | |
