2018-09-23 15:45:44 +00:00
|
|
|
/*!
|
|
|
|
* VisualEditor ContentEditable MWTransclusionTableCellNode class.
|
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2018-09-23 15:45:44 +00:00
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* ContentEditable MediaWiki transclusion table cell node.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends ve.ce.MWTransclusionNode
|
|
|
|
* @constructor
|
2024-04-29 17:51:41 +00:00
|
|
|
* @mixes ve.ce.TableCellableNode
|
2018-09-23 15:45:44 +00:00
|
|
|
* @param {ve.dm.MWTransclusionTableCellNode} model Model to observe
|
|
|
|
*/
|
|
|
|
ve.ce.MWTransclusionTableCellNode = function VeCeMWTransclusionTableCellNode( model ) {
|
|
|
|
// Parent constructor
|
|
|
|
ve.ce.MWTransclusionTableCellNode.super.call( this, model );
|
|
|
|
|
|
|
|
// Mixin constructors
|
|
|
|
ve.ce.TableCellableNode.call( this );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ce.MWTransclusionTableCellNode, ve.ce.MWTransclusionNode );
|
|
|
|
|
|
|
|
OO.mixinClass( ve.ce.MWTransclusionTableCellNode, ve.ce.TableCellableNode );
|
|
|
|
|
|
|
|
/* Static Properties */
|
|
|
|
|
|
|
|
ve.ce.MWTransclusionTableCellNode.static.name = 'mwTransclusionTableCell';
|
|
|
|
|
|
|
|
/* Registration */
|
|
|
|
|
|
|
|
ve.ce.nodeFactory.register( ve.ce.MWTransclusionTableCellNode );
|