From 59a966884babcdb7164983d7b19cace32e7cffa8 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 8 Feb 2023 14:21:09 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=88=97=E8=A1=A8=E5=9B=9E=E8=BD=A6?= =?UTF-8?q?=E5=90=8E=EF=BC=8C=E5=B7=A6=E9=94=AE=E5=85=A8=E9=80=89=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E9=80=89=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/util/selection.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/util/selection.ts b/app/src/protyle/util/selection.ts index 361fa58e3..610754ed9 100644 --- a/app/src/protyle/util/selection.ts +++ b/app/src/protyle/util/selection.ts @@ -103,6 +103,8 @@ export const selectAll = (protyle: IProtyle, nodeElement: Element, range: Range) lastChild = lastChild.lastChild as HTMLElement; } } + // 列表回车后,左键全选无法选中 + focusByRange(range); protyle.toolbar.render(protyle, range); countSelectWord(range, protyle.block.rootID); return true;