mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-24 22:35:41 +00:00
Merge "Don't build the CE tree and DOM for the internal list"
This commit is contained in:
commit
dcb0d04cc8
|
@ -32,6 +32,15 @@ ve.ce.InternalListNode.static.name = 'internalList';
|
|||
|
||||
ve.ce.InternalListNode.static.tagName = 'span';
|
||||
|
||||
/* Methods */
|
||||
|
||||
/**
|
||||
* Deliberately empty: don't build an entire CE tree with DOM elements for things that won't render
|
||||
* @inheritdoc
|
||||
*/
|
||||
ve.ce.InternalListNode.prototype.onSplice = function () {
|
||||
};
|
||||
|
||||
/* Registration */
|
||||
|
||||
ve.ce.nodeFactory.register( ve.ce.InternalListNode );
|
||||
|
|
Loading…
Reference in a new issue