Commit 1311918b authored by Van's avatar Van

rename editor params

parent 85939e79
...@@ -99,7 +99,7 @@ admin.editors.CodeMirror = { ...@@ -99,7 +99,7 @@ admin.editors.CodeMirror = {
dragDrop: false, dragDrop: false,
lineWrapping: true, lineWrapping: true,
status: false, status: false,
html2mdURL: latkeConfig.servePath + '/console/markdown/2html', htmlURL: latkeConfig.servePath + '/console/markdown/2html',
toolbar: [ toolbar: [
{name: 'bold'}, {name: 'bold'},
{name: 'italic'}, {name: 'italic'},
......
...@@ -1133,7 +1133,7 @@ ...@@ -1133,7 +1133,7 @@
cm.refresh(); cm.refresh();
$.ajax({ $.ajax({
url: editor.options.html2mdURL, url: editor.options.htmlURL,
type: "POST", type: "POST",
cache: false, cache: false,
data: { data: {
...@@ -1332,7 +1332,7 @@ ...@@ -1332,7 +1332,7 @@
var text = cm.getValue(); var text = cm.getValue();
$.ajax({ $.ajax({
url: editor.options.html2mdURL, url: editor.options.htmlURL,
type: "POST", type: "POST",
cache: false, cache: false,
data: { data: {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment