mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-20 14:04:06 +01:00
This commit is contained in:
parent
a07505a29f
commit
2cb214f1fe
1 changed files with 5 additions and 0 deletions
|
|
@ -102,6 +102,11 @@ const focusStack = (backStack: IBackStack) => {
|
|||
setTimeout(() => {
|
||||
protyle.contentElement.scrollTop = backStack.scrollTop;
|
||||
}, Constants.TIMEOUT_LOAD);
|
||||
|
||||
protyle.app.plugins.forEach(item => {
|
||||
item.eventBus.emit("switch-protyle", {protyle});
|
||||
item.eventBus.emit("loaded-protyle-static", {protyle});
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue