VisualEditor is designed for MediaWiki, but technically is still fairly stand-alone. The idea of using it outside of MediaWiki seems to glaze over the back end systems that are going to be required to edit actual pages.
VisualEditor is the front-end, it does not parse Wikitext, it reads in and emits out annotated HTML. It depends on Parsoid to convert from Wikitext to annotated HTML and back again after editing. If you wanted to use VisualEditor to edit arbitrary HTML, that should work (soon) with some restrictions because our concept of annotated HTML has certain limitations including only supporting certain types of elements and not supporting all conceivable HTML-isms.
I would love to see our work on VE be used elsewhere, but it's not a central goal at this time to make it generic enough for general HTML editing.
- Trevor
On Sat, May 19, 2012 at 12:26 PM, Jim Safley jimsafley@gmail.com wrote:
Will I be able to implement the Visual Editor outside MediaWiki? For instance, could I install it as a JavaScript library in a separate application?
I notice that the original edit toolbar and the toolbar that comes with the WikiEditor extension are coupled so tightly to MediWiki that it's near impossible to integrate them into a separate application. (If I'm wrong, please educate me.) I wonder if the same will apply to the rich-text editor.
Thanks, Jim
Wikitext-l mailing list Wikitext-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitext-l