Edit style: remove CodeMirror's Ctrl-S handler, now redundant
This commit is contained in:
parent
55538f808d
commit
0be6f6dfe4
1
edit.js
1
edit.js
|
@ -16,7 +16,6 @@ sectionTemplate.innerHTML = '<label>' + t('sectionCode') + '</label><textarea cl
|
|||
var editors = [] // array of all CodeMirror instances
|
||||
// replace given textarea with the CodeMirror editor
|
||||
function setupCodeMirror(textarea) {
|
||||
CodeMirror.commands.save = function(cm) { save() }
|
||||
var cm = CodeMirror.fromTextArea(textarea, {
|
||||
mode: 'css',
|
||||
lineNumbers: true,
|
||||
|
|
Loading…
Reference in New Issue
Block a user