Extension:VEForAll

The VEForAll ("VisualEditor For All") extension allows other extensions to incorporate the VisualEditor interface into textareas for user editing.

This extension does not directly impact the user interface; rather, it defines a JavaScript function (called " ") that can be called by other extensions on their textareas. At the moment, two extensions - CommentStreams and Page Forms - can make use of VEForAll.

As might be expected, the VisualEditor extension must be installed for this extension to work.

Authors and credits
VEForAll is heavily based on the (now-obsolete) VEForPageForm extension by Pierre Boutet and Clément Flipo. Some work to make the code more generic was done by Ike Hecht, Yaron Koren and Cindy Cicalese. VEForAll also includes code from the StructuredDiscussions extension.

Using VEForAll with other extensions
VEForAll can currently be used with the CommentStreams and Page Forms extensions:


 * For CommentStreams, you must use version 4.5 of the extension or higher. You simply need to have VEForAll (and VisualEditor) installed, and then textareas for entering comments will automatically get the VisualEditor interface.


 * For Page Forms, you must use version 4.4-alpha of the extension or higher. Then, in the form definition, add "|editor=visualeditor" to the tag for any textarea input (including the "free text" input), and the VisualEditor interface should show up when viewing that form.