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