From 2cb214f1feeb191049a5998c6ff90982885aab15 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sun, 9 Mar 2025 17:33:58 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14296 --- app/src/mobile/util/MobileBackFoward.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/mobile/util/MobileBackFoward.ts b/app/src/mobile/util/MobileBackFoward.ts index 3d23e5357..4bdf95da3 100644 --- a/app/src/mobile/util/MobileBackFoward.ts +++ b/app/src/mobile/util/MobileBackFoward.ts @@ -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}); + }); }); };