mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-12-13 14:48:16 +00:00
e439fb02eb
Bug: T373065 Bug: T373153 Change-Id: Ia00add5d98173e2c3d8568e92c427864014e7257
8 lines
209 B
JavaScript
8 lines
209 B
JavaScript
require( '../ext.CodeMirror.data.js' );
|
|
|
|
if ( mw.config.get( 'extCodeMirrorConfig' ).useV6 ) {
|
|
mw.loader.load( 'ext.CodeMirror.v6.visualEditor' );
|
|
} else {
|
|
mw.loader.load( 'ext.CodeMirror.visualEditor' );
|
|
}
|