This commit is contained in:
parent
efc54eae26
commit
7b6e00d949
2 changed files with 2 additions and 2 deletions
|
@ -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>`,
|
||||
// },
|
||||
|
|
|
@ -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"),
|
||||
|
|
Loading…
Add table
Reference in a new issue