indite

Indite is an extension to HtmlArea.
Indite validates content as the user types. This ensures that the output is semantically clean, but still allows the user full preview of the final result. Indite is mainly a JavaScript (client-side) application, but comes with a PHP class that encapsulates and simplifies the use of it.