From 7b6e00d949d79d95b7b36be1e70e12401956f795 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 7 Mar 2023 19:49:38 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/commit/b55bdb2214ed283b52a264fc7cf8fbd960415c3e#commitcomment-103382522 --- app/src/protyle/hint/extend.ts | 2 +- app/src/protyle/util/editorCommonEvent.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/hint/extend.ts b/app/src/protyle/hint/extend.ts index eee593a2c..ba3983bbe 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: '
AI Chat
', }, // { - // filter: ["属性试图", "shuxingshitu", "sxst", "attribute view"], + // filter: ["属性视图", "shuxingshitu", "sxst", "attribute view"], // value: '
', // html: `
${window.siyuan.languages.attributeView}
`, // }, diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 63a5b6bfa..e00e3c7fc 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"),