This commit is contained in:
Liang Ding 2023-03-07 19:49:38 +08:00
parent efc54eae26
commit 7b6e00d949
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 2 additions and 2 deletions

View file

@ -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>`,
// },

View file

@ -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"),