editor: canvas - fix problem with detaching empty text nodes
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Fri, 13 Dec 2013 19:49:02 +0000 (20:49 +0100)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Sun, 15 Dec 2013 21:32:52 +0000 (22:32 +0100)
commitf2cfe219c603d0d912b5bd0484e22725026d85aa
tree20afe49a8ab803a09f4f516eddd49c3aa973ddb9
parent264005bc6b4f629d4ef7d32c0aa626e3da7afbc7
editor: canvas - fix problem with detaching empty text nodes

This code is a remnant of the old canvas implementation that
should be removed long time ago after switching to event based
documents. And it just happens that it broke handling of
nodeDetach event for of empty text nodes.
src/editor/modules/documentCanvas/canvas/canvas.test.js
src/editor/modules/documentCanvas/canvas/documentElement.js