2016-05-26 12:08:26 +00:00
|
|
|
/*!
|
2024-10-21 12:51:51 +00:00
|
|
|
* VisualEditor ContentEditable MWWikitextSurface class.
|
2016-05-26 12:08:26 +00:00
|
|
|
*
|
2023-12-01 16:06:11 +00:00
|
|
|
* @copyright See AUTHORS.txt
|
2016-05-26 12:08:26 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @class
|
|
|
|
* @extends ve.ce.Surface
|
|
|
|
*
|
|
|
|
* @constructor
|
|
|
|
* @param {ve.dm.Surface} model
|
|
|
|
* @param {ve.ui.Surface} ui
|
|
|
|
* @param {Object} [config]
|
|
|
|
*/
|
|
|
|
ve.ce.MWWikitextSurface = function VeCeMwWikitextSurface() {
|
|
|
|
// Parent constructors
|
|
|
|
ve.ce.MWWikitextSurface.super.apply( this, arguments );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
OO.inheritClass( ve.ce.MWWikitextSurface, ve.ce.Surface );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @inheritdoc
|
|
|
|
*/
|
2024-10-21 12:51:51 +00:00
|
|
|
ve.ce.MWWikitextSurface.prototype.createClipboardHandler = function () {
|
|
|
|
return new ve.ce.MWWikitextClipboardHandler( this );
|
2018-04-11 04:23:47 +00:00
|
|
|
};
|