mediawiki-extensions-Tabber.../modules/ve-tabberNeue/ve.dm.MWTabberTranscludeNode.js
alistair3149 d0be57a629
feat: add basic VE support for tabbertransclude tag
* Add basic inspector tool for tabbertransclude
* Add custom icon for Tabber
* Fix an issue where Tabber VE dialog is triggered when selecting mapframe
2022-04-22 19:34:06 -04:00

30 lines
745 B
JavaScript

/**
* DataModel MediaWiki TabberTransclude node.
*
* @class
* @extends ve.dm.MWBlockExtensionNode
*
* @constructor
* @param {Object} [element] Reference to element in linear model
*/
ve.dm.MWTabberTranscludeNode = function VeDmMWTabberTranscludeNode() {
// Parent constructor
ve.dm.MWTabberTranscludeNode.super.apply( this, arguments );
};
/* Inheritance */
OO.inheritClass( ve.dm.MWTabberTranscludeNode, ve.dm.MWBlockExtensionNode );
/* Static members */
ve.dm.MWTabberTranscludeNode.static.name = 'mwTabberTransclude';
ve.dm.MWTabberTranscludeNode.static.tagName = 'div';
ve.dm.MWTabberTranscludeNode.static.extensionName = 'tabbertransclude';
/* Registration */
ve.dm.modelRegistry.register( ve.dm.MWTabberTranscludeNode );