删除codemirror中的html mode
This commit is contained in:
parent
1cffc19b96
commit
76ff082345
@ -115,7 +115,6 @@
|
||||
console.log(self.pageParams);
|
||||
console.log(self.formData);
|
||||
layer.msg('正在登录,请稍后...', {icon: 16, time: 3000});
|
||||
self.formData.password = md5(md5(md5(self.formData.password)));
|
||||
return false;
|
||||
},
|
||||
|
||||
|
@ -414,7 +414,6 @@
|
||||
function initFormHtml() {
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById('formHtml'), {
|
||||
lineNumbers: true,
|
||||
mode: 'htmlmixed',
|
||||
theme: 'dracula'
|
||||
});
|
||||
editor.on('change', function(self, changeValue) {
|
||||
|
@ -416,7 +416,6 @@
|
||||
function initFormHtml(value) {
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById('formHtml'), {
|
||||
lineNumbers: true,
|
||||
mode: 'htmlmixed',
|
||||
theme: 'dracula'
|
||||
});
|
||||
editor.setValue(value);
|
||||
|
Loading…
Reference in New Issue
Block a user