mediawiki-extensions-Visual.../modules/ve
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
..
ce Handle uneditable nodes in ve.ce.getDomText() 2012-08-17 17:21:15 -07:00
dm Merge "Added some unit tests for ve.dm.SurfaceFragment" 2012-08-17 20:16:00 +00:00
init Merge "Added saving "spinner" icon to save dialog" 2012-08-17 23:15:48 +00:00
test Merge "Added some unit tests for ve.dm.SurfaceFragment" 2012-08-17 20:16:00 +00:00
ui VE multiSuggest bug fixes. 2012-08-17 15:13:19 -07:00
ve.BranchNode.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.debug.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Document.js This should never happen, but if it does, lets make sure we know 2012-08-08 15:17:45 -07:00
ve.EventEmitter.js Refactor ve.js utilities and improve documentation 2012-08-12 20:32:45 +02:00
ve.Factory.js Rename fringeWhitespace to internal 2012-08-16 15:14:01 -07:00
ve.js Added key-sorting to make hashes referentially transparent 2012-08-15 11:14:44 -07:00
ve.LeafNode.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Node.js Make use of new jshint options 2012-08-10 02:50:30 +02:00
ve.Position.js Puttin' em white-spacers where they aught'a be 2012-08-06 18:52:19 -07:00
ve.Range.js Added basic ve.dm.SurfaceFragment class 2012-08-09 16:18:13 -07:00
ve.Surface.js Added check for empty document to avoid error 2012-08-17 13:49:34 -07:00