mirror of
https://github.com/leanote/desktop-app.git
synced 2025-10-14 15:11:24 +00:00
markdown preview abstract 上传 [ok]
This commit is contained in:
6
node_modules/api.js
generated
vendored
6
node_modules/api.js
generated
vendored
@@ -557,6 +557,12 @@ var Api = {
|
||||
FileDatas: note.FileDatas,
|
||||
tags: note.Tags, // 新添加
|
||||
}
|
||||
|
||||
// 如果是markdown笔记, 则摘要也要传过去
|
||||
if(note.IsMarkdown) {
|
||||
data.Abstract = note.Abstract;
|
||||
}
|
||||
|
||||
console.log('update note :');
|
||||
console.log(data);
|
||||
|
||||
|
@@ -2390,7 +2390,7 @@ Note.fixSyncConflict = function(note, newNote) {
|
||||
if(target.length > 0) {
|
||||
var newHtmlObject = Note._getNoteHtmlObjct(note);
|
||||
if(newHtmlObject) {
|
||||
newHtmlObject.insertBefore(target);
|
||||
$(newHtmlObject).insertBefore(target);
|
||||
}
|
||||
}
|
||||
// 当前这个换成新复制的
|
||||
|
Reference in New Issue
Block a user