7 lines
190 B
JavaScript
7 lines
190 B
JavaScript
|
/*global CodeMirror, dotclear */
|
||
|
'use strict';
|
||
|
|
||
|
window.CodeMirror.defineMode('dotclear', function (config) {
|
||
|
config.readOnly = true;
|
||
|
return CodeMirror.getMode(config, 'text/x-yaml');
|
||
|
});
|