Commit 88c31f3f authored by 张博's avatar 张博

fixed bug: export markdown and text

parent 0c22076e
......@@ -148,7 +148,7 @@ define(function(require, exports, module) {
dataType: 'markdown',
encode: function(json) {
return encode(json);
return encode(json.root);
},
decode: function(markdown) {
......
......@@ -83,7 +83,7 @@ define(function(require, exports, module) {
mineType: 'text/plain',
encode: function(json) {
return encode(json, 0);
return encode(json.root, 0);
},
decode: function(local) {
......
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