mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-05 14:12:53 +00:00
cdfed7039f
To achieve this we need to evaluate the DOM contents of transclusion nodes to see if it consists solely of meta items and whitespace. To check for meta items we do a model registry match, but with an additional parameter to exclude mwTransclusion types as a possible result (as the first item may be a meta tag, but with a mw:Transclusion typeof attribute). Bug: 51322 Change-Id: I89a220350fb7e10e15f3682d21438539196a5846 |
||
---|---|---|
.. | ||
ve.dm.MWBlockImageNode.js | ||
ve.dm.MWEntityNode.js | ||
ve.dm.MWHeadingNode.js | ||
ve.dm.MWImageCaptionNode.js | ||
ve.dm.MWInlineImageNode.js | ||
ve.dm.MWMathNode.js | ||
ve.dm.MWPreformattedNode.js | ||
ve.dm.MWReferenceListNode.js | ||
ve.dm.MWReferenceNode.js | ||
ve.dm.MWTransclusionNode.js |