Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5527

Vanessa9406a34a221a
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index b27fbd463c..abea4b6f10 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -491,6 +491,10 @@ export class WYSIWYG {
window.siyuan.menus.menu.element.classList.remove("fn__none");
setPosition(window.siyuan.menus.menu.element, event.clientX, event.clientY + 13, 26);
protyle.toolbar?.element.classList.add("fn__none");
+ if (nodeElement.classList.contains("table")) {
+ nodeElement.querySelector("table").classList.remove("select");
+ nodeElement.querySelector(".table__select").removeAttribute("style");
+ }
}
} else if (protyle.toolbar.range.toString() === "") {
hideElements(["util"], protyle);