From 9d7011e0759bac67746317b9716d3d29e1fa6d21 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 7 Feb 2025 12:02:24 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=88=92=E9=80=89=E5=90=8E=20esc=20?= =?UTF-8?q?=E7=94=A8=E9=94=AE=E7=9B=98=E9=80=89=E4=B8=AD=E5=90=8E=E6=97=A0?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E8=83=8C=E6=99=AF=20https://github.com/siyua?= =?UTF-8?q?n-note/siyuan/pull/14010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/wysiwyg/index.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts index 3ea0ac8a6..a5f52816a 100644 --- a/app/src/protyle/wysiwyg/index.ts +++ b/app/src/protyle/wysiwyg/index.ts @@ -1059,9 +1059,7 @@ export class WYSIWYG { !selectElements[0].classList.contains("bq") && !selectElements[0].classList.contains("sb")) { // 只有一个 p 时不选中 protyle.selectElement.style.backgroundColor = "transparent"; - protyle.wysiwyg.element.classList.remove("protyle-wysiwyg--hiderange"); } else { - protyle.wysiwyg.element.classList.add("protyle-wysiwyg--hiderange"); selectElements.forEach(item => { if (!hasClosestByClassName(item, "protyle-wysiwyg__embed")) { item.classList.add("protyle-wysiwyg--select");