mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
f24dbb3435
We unconditionally retrieved originalHtml from itemNode, even if there was no data-mw.body.id, so as long as the reference itself wasn't edited, we would never overwrite data-mw. This meant that if the <ref> with the contents was deleted, the contents wouldn't be transfered to the first <ref> tag with that name like they're supposed to be. The solution is to only look at originalHtml from itemNode if data-mw.body.id is set. Change-Id: Ib87491b6fa6a77d62384158f8e8f7dcc2a36c23a |
||
---|---|---|
.. | ||
ve.dm.MWAlienExtensionNode.js | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWExtensionNode.js | ||
ve.dm.MWGalleryNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWImageNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWNumberedExternalLinkNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWReferenceNode.js | ||
ve.dm.MWReferencesListNode.js | ||
ve.dm.MWTableNode.js | ||
ve.dm.MWTransclusionNode.js |