tianyun 1 year ago
parent
commit
4748dbc421
1 changed files with 1 additions and 0 deletions
  1. 1 0
      simple-demo/edit_online.html

+ 1 - 0
simple-demo/edit_online.html

@@ -55,6 +55,7 @@
         let content = quill.root.innerHTML;
         let res = requestUtil.sync("https://web_history.tianyunperfect.cn/content/updateOrInsert", "post", {
             "id": id,
+            "type": "html",
             "content": content
         });
         if (res.code == 200) {