/**
* ContentEditable node for a table.
*
* @class
* @constructor
* @extends {ve.ce.BranchNode}
* @param model {ve.dm.TableNode} Model to observe
*/
ve.ce.TableNode = function( model ) {
// Inheritance
ve.ce.BranchNode.call( this, 'table', model, $( '
' ) );
};
/* Static Members */
/**
* Node rules.
*
* @see ve.ce.NodeFactory
* @static
* @member
*/
ve.ce.TableNode.rules = {
'canBeSplit': false
};
/* Registration */
ve.ce.nodeFactory.register( 'table', ve.ce.TableNode );
/* Inheritance */
ve.extendClass( ve.ce.TableNode, ve.ce.BranchNode );