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/commit/b55bdb2214ed283b52a264fc7cf8fbd960415c3e#commitcomment-103382522

Liang Ding7b6e00d949d7
diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts
index eee593a2cb..ba3983bbea 100644
--- a/app/src/protyle/hint/extend.ts
+++ b/app/src/protyle/hint/extend.ts
@@ -42,7 +42,7 @@ export const hintSlash = (key: string, protyle: IProtyle) => {
html: '<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconSparkles"></use></svg><span class="b3-list-item__text">AI Chat</span></div>',
},
// {
- // filter: ["属性试图", "shuxingshitu", "sxst", "attribute view"],
+ // filter: ["属性视图", "shuxingshitu", "sxst", "attribute view"],
// value: '<div data-type="NodeAttributeView" data-av-type="table"></div>',
// html: `<div class="b3-list-item__first"><svg class="b3-list-item__graphic"><use xlink:href="#iconDatabase"></use></svg><span class="b3-list-item__text">${window.siyuan.languages.attributeView}</span></div>`,
// },
diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts
index 63a5b6bfa6..e00e3c7fc1 100644
--- a/app/src/protyle/util/editorCommonEvent.ts
+++ b/app/src/protyle/util/editorCommonEvent.ts
@@ -793,7 +793,7 @@ export const dropEvent = (protyle: IProtyle, editorElement: HTMLElement) => {
hideElements(["gutter"], protyle);
const targetClass = targetElement.className.split(" ");
if (targetElement.className.indexOf("dragover__") === -1) {
- // 拖拽到属性试图内
+ // 拖拽到属性视图内
transaction(protyle, [{
action: "insertAttrViewBlock",
id: targetElement.getAttribute("data-node-id"),