mediawiki-extensions-Visual.../modules/ve/ce
Catrope 2f31681922 Handle uneditable nodes in ve.ce.getDomText()
There is a TODO about this but these were never handled. This lack of
handling caused weird offset issues when editing paragraphs containing
inline aliens, because the text of the inline alien was returned.
Instead, return an appropriate number of characters so the offset logic
keeps working.

Removed the textContent||innerText code because it would bypass the
uneditable node logic: paragraphNode.textContent would return the text
of the entire paragraph (including any aliens), and we'd never descend
into the paragraph to reach the alien node.

Change-Id: Ia05755755dd5380cb9a0b5a0334c6721b4e0d3b7
2012-08-17 17:21:15 -07:00
..
nodes SimpleWikiLink is no longer used by Parsoid, remove it from VE 2012-08-13 18:05:10 -07:00
styles Added support for apex skin 2012-08-15 16:35:52 -07:00
ve.ce.BranchNode.js Fix JS error for inline aliens 2012-08-17 15:36:20 -07:00
ve.ce.Document.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.ce.js Handle uneditable nodes in ve.ce.getDomText() 2012-08-17 17:21:15 -07:00
ve.ce.LeafNode.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.ce.Node.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.ce.NodeFactory.js After much research on error objects, native = good, custom = bad 2012-08-08 10:48:53 -07:00
ve.ce.Surface.js Merge "Refactor ve.js utilities and improve documentation" 2012-08-13 03:24:43 +00:00