mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 18:30:16 +01:00
🚨
This commit is contained in:
parent
c32d1fe09f
commit
17a619a55b
6 changed files with 7 additions and 8 deletions
|
|
@ -31,7 +31,7 @@ export const addFilesToDatabase = (fileLiElements: Element[]) => {
|
|||
}]);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const addEditorToDatabase = (protyle: IProtyle, range: Range, type?: string) => {
|
||||
if (protyle.title?.editElement.contains(range.startContainer) || type === "title") {
|
||||
|
|
@ -100,4 +100,4 @@ export const addEditorToDatabase = (protyle: IProtyle, range: Range, type?: stri
|
|||
focusByRange(range);
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue