Details
-
Improvement
-
Resolution: Fixed
-
Major
-
1.8
-
None
-
any
-
dom api wysiwyg move
-
Description
The new WYSIWYG editor uses an enhanced DOM API to manipulate the edited document. This API extends the default DOM API found in GWT adding:
- W3C Range and Selection support ( http://tinyurl.com/cvsm3a )
- Multiple-window support ( http://tinyurl.com/cphdep )
- Depth-first pre-order iterator (part of Document traversal support)
- Lots of DOM utility methods
I'd like to move this API in a separate build module to make it reusable inside and outside XWiki. We could name it xwiki-web-gwt-dom (or xwiki-gwt-dom?) and place it, at list for now, in platform/web/gwt-dom (or platform/web/xwiki-gwt-dom?).
Also, I'd like to rename the package name from com.xpn.xwiki.wysiwyg.client.dom to org.xwiki.gwt.dom.