This commit is contained in:
Vanessa 2022-05-28 22:43:27 +08:00
parent 410251677c
commit 4837f35487
5 changed files with 23 additions and 18 deletions

View file

@ -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;