On Wed, Dec 12, 2012 at 11:32 AM, Daniel Barrett danb@vistaprint.comwrote:
Will the method for hooking into VE be the same as for WikiEditor? Or will extension developers need to support both editors in two different ways?
In general they are both conceptually and technically incompatible.
Here's some more detail about why:
- Wrapping selections in wikitext doesn't really make sense in VisualEditor due to the nature of it's data structures[1]. - The VisualEditor API is not complete yet, but it's designed to make it easy to create new extensions, but also easy to reuse parts of other extensions - an area in particular where WikiEditor was flawed.
- Trevor
[1] http://www.mediawiki.org/wiki/VisualEditor/Software_design#Data_Structures