If you're looking for a lightweight, configurable rich text editor, nicEdit will do you proud. It's very easy to customize, relatively unobtrusive (compared to other rich text editors) and tries to produce standard's compliant XHTML (with additional plugin).
Where it falls short in my book:
- Lack of jQuery plugin, which would no doubt reduce it's footprint, for those of us who already have the jQuery library loaded.
- Poor documentation.
I've seen this far too many times, where a developer produces a fantastic product, then offers a "Documentation Wiki", instead of any real technical documentation. Don't get me wrong, the Wiki is a great idea to promote community involvement in the documentation, but in many times it feels that the community is doing most of the documentation!
Without further complaint, let me share two things I learned about nicEdit through my own digging and trial/error.
The ability to markup style using BBCode is what brought me to nicEdit in the first place. Perhaps I should have just guessed this, but it took a little digging to find out that the bbCode option is required to activate it.
Markup (and some text) lost after form validation fails
nicEditor was working great for us, until we threw in some form validation. We were surprised to find that much of the markup and text was missing when we attempted to reinstantiate a new nicEditor instance on a textarea after server-side validation failed. After exhausting a number of options, we found that the xhtml option was the missing link.
I was lead to believe by the documentation, that this option simply activated an experimental plugin used to attempt to produce XHTML standard's compliant markup. But, it seems that it's required for the plugin to work at all on a textarea with existing HTML content (such as would be the case after failed form validation).
I want to use it with class selection and it seems they only have ID selection or all textareas. Have you figured that one out?
The need hasn’t arose for me, but what are your circumstances? Why aren’t you able to assign id’s to your textareas?
i would like to use validation also, like, if words excceeds to 4000 , it shows an alert box with this nic edit, but validation won't work on nicedit.