From 8a0659e1f4f22cdbb1d930b225745185a64cc4a2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 21 Jul 2022 22:23:08 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5490 --- app/src/protyle/hint/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/hint/index.ts b/app/src/protyle/hint/index.ts index c8972c684..647ea0848 100644 --- a/app/src/protyle/hint/index.ts +++ b/app/src/protyle/hint/index.ts @@ -510,6 +510,7 @@ ${unicode2Emoji(emoji.unicode, true)}`; }); return; } else if (Constants.INLINE_TYPE.includes(value)) { + focusByRange(range); protyle.toolbar.range = range; protyle.toolbar.setInlineMark(protyle, value, "add"); return;