editor: start using data api on text nodes for keeping references to canvas elements
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Tue, 24 Jun 2014 09:24:39 +0000 (11:24 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 18 Jul 2014 09:57:34 +0000 (11:57 +0200)
commite104b4b87dc39066cbe397984c6f0e6bcc0459f8
treefba616fbb44e41172e73e98b89fa9915927ef9ef
parentf046659fbe4fd9fb752854f8ccb547918eddc5df
editor: start using data api on text nodes for keeping references to canvas elements

GenericElement doesn't need to dispatch nodeTextChange events
anymore as TextNodes now have their own reference to canvas
elements and wlxmlListener can dispatch to them directly.

We still need to handle changes to the comments though - this should
be refactored out to some kind of non-rendering canvas element.
src/editor/modules/documentCanvas/canvas/documentElement.js
src/editor/modules/documentCanvas/canvas/genericElement.js
src/editor/modules/documentCanvas/canvas/utils.js