mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
59f74de3b8
The tree sync for content replacements was adjusting the parent of the text node affected, rather than the text node itself. This was because it called getNodeFromOffset(), which returns branch nodes. Switched it to use selectNodes() in leaves mode Change-Id: I50a9be18151a1b75815ab19b787b16b6be385bf9 |
||
---|---|---|
.. | ||
nodes | ||
ve.dm.BranchNode.js | ||
ve.dm.Document.js | ||
ve.dm.DocumentFragment.js | ||
ve.dm.DocumentSynchronizer.js | ||
ve.dm.HTMLConverter.js | ||
ve.dm.js | ||
ve.dm.LeafNode.js | ||
ve.dm.Node.js | ||
ve.dm.NodeFactory.js | ||
ve.dm.Surface.js | ||
ve.dm.Transaction.js | ||
ve.dm.TransactionProcessor.js |