From 5456d032c781fc4bdc3793692ab0dfa274b28511 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 28 Oct 2024 22:11:59 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12955 --- app/src/protyle/gutter/index.ts | 2 +- app/src/protyle/toolbar/index.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.ts index aa10d67ff..f77ef81a7 100644 --- a/app/src/protyle/gutter/index.ts +++ b/app/src/protyle/gutter/index.ts @@ -2244,7 +2244,7 @@ export class Gutter { let iconAriaLabel = isMac() ? window.siyuan.languages.rowTip : window.siyuan.languages.rowTip.replace("⇧", "Shift+"); if (protyle.disabled) { iconAriaLabel = window.siyuan.languages.rowTip.substring(0, window.siyuan.languages.rowTip.indexOf("`; diff --git a/app/src/protyle/toolbar/index.ts b/app/src/protyle/toolbar/index.ts index ccb1fc478..10255d511 100644 --- a/app/src/protyle/toolbar/index.ts +++ b/app/src/protyle/toolbar/index.ts @@ -1193,7 +1193,9 @@ export class Toolbar { protyle.app.plugins.forEach(item => { item.eventBus.emit("open-noneditableblock", { protyle, - toolbar: this + toolbar: this, + blockElement: nodeElement, + renderElement, }); }); }