Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/18244

Vanessa131c04961374
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 7c045f7d3a..088a799c89 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -1271,6 +1271,7 @@ export class WYSIWYG {
// @ts-ignore
nodeElement.firstElementChild.style.webkitUserModify = "read-only";
nodeElement.style.cursor = "col-resize";
+ protyle.wysiwyg.element.classList.add("protyle-wysiwyg--hiderange");
target.removeAttribute("style");
const x = event.clientX;
const colIndex = parseInt(target.getAttribute("data-col-index"));
@@ -1298,6 +1299,7 @@ export class WYSIWYG {
// @ts-ignore
nodeElement.firstElementChild.style.webkitUserModify = "";
nodeElement.style.cursor = "";
+ protyle.wysiwyg.element.classList.remove("protyle-wysiwyg--hiderange");
documentSelf.onmousemove = null;
documentSelf.onmouseup = null;
documentSelf.ondragstart = null;