Commit 1311918b authored by Van's avatar Van

rename editor params

parent 85939e79
......@@ -99,7 +99,7 @@ admin.editors.CodeMirror = {
dragDrop: false,
lineWrapping: true,
status: false,
html2mdURL: latkeConfig.servePath + '/console/markdown/2html',
htmlURL: latkeConfig.servePath + '/console/markdown/2html',
toolbar: [
{name: 'bold'},
{name: 'italic'},
......
......@@ -1133,7 +1133,7 @@
cm.refresh();
$.ajax({
url: editor.options.html2mdURL,
url: editor.options.htmlURL,
type: "POST",
cache: false,
data: {
......@@ -1332,7 +1332,7 @@
var text = cm.getValue();
$.ajax({
url: editor.options.html2mdURL,
url: editor.options.htmlURL,
type: "POST",
cache: false,
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