As long as VisualEditor is being used to edit a MediaWiki page, there
shouldn't be much difficulty getting it to do so from any arbitrary page on
the internet. VisualEditor will however use things like ResourceLoader, so
it's not going to be completely stand-alone without some work.

- Trevor

On Mon, May 21, 2012 at 1:37 PM, Jim Safley <[email protected]> wrote:

> Thanks for the explanation. My application interfaces MediaWiki and
> various content management systems using the MediaWIki API. Put
> simply, it adds a textarea to a CMS where users can edit a specific
> MediaWiki page. I'm looking for some editing tool that facilitates the
> authoring of wiki markup in that textarea. Do you think VisualEditor,
> properly configured, will be able to do this? Are there any other
> options?
>
> Jim
>
> On Mon, May 21, 2012 at 3:46 PM, Trevor Parscal <[email protected]>
> wrote:
> > 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 <[email protected]>
> 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
> >> [email protected]
> >> https://lists.wikimedia.org/mailman/listinfo/wikitext-l
> >
> >
> >
> > _______________________________________________
> > Wikitext-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/wikitext-l
> >
>
> _______________________________________________
> Wikitext-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikitext-l
>
_______________________________________________
Wikitext-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitext-l

Reply via email to