Skip to content

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

:rotating_light:

Vanessa29bd68b8026c
diff --git a/app/src/menus/commonMenuItem.ts b/app/src/menus/commonMenuItem.ts
index 22de00f9af..7b62ba24bb 100644
--- a/app/src/menus/commonMenuItem.ts
+++ b/app/src/menus/commonMenuItem.ts
@@ -171,7 +171,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
}
});
if (!protyle) {
- ghostProtyle = new Protyle(window.siyuan.ws.app, document.createElement('div'), {
+ ghostProtyle = new Protyle(window.siyuan.ws.app, document.createElement("div"), {
blockId: attrs.id,
});
}
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index acce2404ca..7ec498cc4f 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -18,7 +18,6 @@ import {showMessage} from "../../dialog/message";
import {avRender} from "../render/av/render";
import {hideTooltip} from "../../dialog/tooltip";
import {stickyRow} from "../render/av/row";
-import {updateReadonly as updateReadonlyMethod} from "../breadcrumb/action";
import {getContenteditableElement} from "../wysiwyg/getBlock";
import {activeBlur} from "../../mobile/util/keyboardToolbar";