mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Always set sourceMode=true on dm.MWWikitextSurface"
This commit is contained in:
commit
92470ae024
|
@ -12,10 +12,11 @@
|
|||
*
|
||||
* @constructor
|
||||
* @param {ve.dm.Document} doc
|
||||
* @param {Object} [config]
|
||||
*/
|
||||
ve.dm.MWWikitextSurface = function VeDmMwWikitextSurface() {
|
||||
ve.dm.MWWikitextSurface = function VeDmMwWikitextSurface( doc, config ) {
|
||||
// Parent constructors
|
||||
ve.dm.MWWikitextSurface.super.apply( this, arguments );
|
||||
ve.dm.MWWikitextSurface.super.call( this, doc, ve.extendObject( config, { sourceMode: true } ) );
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue