mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Stop floated transclusions floating out of themselves
This is done by setting renderHtmlAttributes to false, for both block and inline transclusions. Bug: 49925 Change-Id: I975cf1de3b273a5189e6edf7db937c4388fa4fbe
This commit is contained in:
parent
9e81731ff1
commit
887255500a
|
@ -48,6 +48,8 @@ ve.mixinClass( ve.ce.MWTransclusionNode, ve.ce.GeneratedContentNode );
|
|||
|
||||
ve.ce.MWTransclusionNode.static.name = 'mwTransclusion';
|
||||
|
||||
ve.ce.MWTransclusionNode.static.renderHtmlAttributes = false;
|
||||
|
||||
/* Methods */
|
||||
|
||||
ve.ce.MWTransclusionNode.prototype.generateContents = function () {
|
||||
|
|
Loading…
Reference in a new issue