mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-19 05:28:07 +01:00
This commit is contained in:
parent
410251677c
commit
4837f35487
5 changed files with 23 additions and 18 deletions
|
|
@ -439,6 +439,7 @@ const updateOutline = (models: IModels, protyle: IProtyle, reload = false) => {
|
|||
fetchPost("/api/outline/getDocOutline", {
|
||||
id: blockId,
|
||||
}, response => {
|
||||
item.updateDocTitle(protyle.title.editElement.textContent);
|
||||
item.update(response, blockId);
|
||||
if (protyle && getSelection().rangeCount > 0) {
|
||||
const startContainer = getSelection().getRangeAt(0).startContainer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue