V 2024-05-24 10:10:49 +08:00 committed by Daniel
parent 1be46ef5fd
commit 9b14fe7bdb
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 12 additions and 7 deletions

View file

@ -71,7 +71,7 @@ export const reloadSync = (app: App, data: { upsertRootIDs: string[], removeRoot
id: item.editor.protyle.block.rootID,
}, (response) => {
item.editor.protyle.wysiwyg.renderCustom(response.data.ial);
reloadProtyle(item.editor.protyle, false);
reloadProtyle(item.editor.protyle, false, true);
updateTitle(item.editor.protyle.block.rootID, item.parent, item.editor.protyle);
});
} else if (data.removeRootIDs.includes(item.editor.protyle.block.rootID)) {