diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 4a201a05c..4dd7fc68e 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -2019,6 +2019,7 @@ export class WYSIWYG { } else if (lastEditElement) { range.selectNodeContents(lastEditElement); range.collapse(false); + focusByRange(range); } } }