diff --git a/app/src/assets/template/mobile/index.tpl b/app/src/assets/template/mobile/index.tpl index b4ba6e00b..59fd4619c 100644 --- a/app/src/assets/template/mobile/index.tpl +++ b/app/src/assets/template/mobile/index.tpl @@ -2,7 +2,7 @@ - + diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts index 6b3cbbbd1..1ad7c4a9e 100644 --- a/app/src/mobile/util/keyboardToolbar.ts +++ b/app/src/mobile/util/keyboardToolbar.ts @@ -205,6 +205,7 @@ export const initKeyboardToolbar = () => { const protyle = window.siyuan.mobile.editor.protyle; if (slashBtnElement) { protyle.hint.fill(decodeURIComponent(slashBtnElement.getAttribute("data-value")), protyle); + focusByRange(protyle.toolbar.range); event.preventDefault(); event.stopPropagation(); return;