mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 14:56:20 +00:00
7b7ff5a503
Change-Id: I382730e1a9f1abcb4b42499267c8dcaf76fc64e1
13 lines
273 B
JavaScript
13 lines
273 B
JavaScript
/**
|
|
* ContentEditable document.
|
|
*
|
|
* @class
|
|
* @constructor
|
|
* @param model {ve.dm.Document} Model to observe
|
|
*/
|
|
ve.ce.Document = function( model ) {
|
|
// Properties
|
|
this.documentModel = model;
|
|
this.documentNode = new ve.ce.DocumentNode( model.getDocumentNode() );
|
|
};
|