%PDF- %PDF-
Direktori : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/nodes/ |
Current File : /www/varak.net/wiki.varak.net/extensions/VisualEditor/lib/ve/src/ce/nodes/ve.ce.ListItemNode.js |
/*! * VisualEditor ContentEditable ListItemNode class. * * @copyright 2011-2016 VisualEditor Team and others; see http://ve.mit-license.org */ /** * ContentEditable list item node. * * @class * @extends ve.ce.BranchNode * @constructor * @param {ve.dm.ListItemNode} model Model to observe * @param {Object} [config] Configuration options */ ve.ce.ListItemNode = function VeCeListItemNode() { // Parent constructor ve.ce.ListItemNode.super.apply( this, arguments ); }; /* Inheritance */ OO.inheritClass( ve.ce.ListItemNode, ve.ce.BranchNode ); /* Static Properties */ ve.ce.ListItemNode.static.name = 'listItem'; ve.ce.ListItemNode.static.tagName = 'li'; ve.ce.ListItemNode.static.splitOnEnter = true; /* Registration */ ve.ce.nodeFactory.register( ve.ce.ListItemNode );