mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-15 08:30:42 +08:00
This commit is contained in:
parent
faadbf5960
commit
803069d807
@ -225,7 +225,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
|
|||||||
</label>
|
</label>
|
||||||
${notifyHTML}
|
${notifyHTML}
|
||||||
</div>
|
</div>
|
||||||
<div data-type="NodeAttributeView" class="fn__none custom-attr" data-av-id="${attrs["custom-avs"]}" data-node-id="${attrs.id}"></div>
|
<div data-type="NodeAttributeView" class="fn__none custom-attr"></div>
|
||||||
<div data-type="custom" class="fn__none custom-attr">
|
<div data-type="custom" class="fn__none custom-attr">
|
||||||
${customHTML}
|
${customHTML}
|
||||||
<div class="b3-label">
|
<div class="b3-label">
|
||||||
|
@ -76,7 +76,7 @@ export const renderAVAttribute = (element: HTMLElement, id: string, protyle?: IP
|
|||||||
avID: string
|
avID: string
|
||||||
avName: string
|
avName: string
|
||||||
}) => {
|
}) => {
|
||||||
html += `<div class="block__logo custom-attr__avheader">
|
html += `<div data-av-id="${table.avID}" data-node-id="${id}" data-type="NodeAttributeView"><div class="block__logo custom-attr__avheader">
|
||||||
<svg><use xlink:href="#iconDatabase"></use></svg>
|
<svg><use xlink:href="#iconDatabase"></use></svg>
|
||||||
<span>${table.avName || window.siyuan.languages.database}</span>
|
<span>${table.avName || window.siyuan.languages.database}</span>
|
||||||
</div>`;
|
</div>`;
|
||||||
@ -93,6 +93,7 @@ class="fn__flex-1 fn__flex${["url", "text", "number", "email", "phone", "templat
|
|||||||
</div>
|
</div>
|
||||||
</div>`;
|
</div>`;
|
||||||
});
|
});
|
||||||
|
html += "</div>";
|
||||||
});
|
});
|
||||||
element.innerHTML = html;
|
element.innerHTML = html;
|
||||||
element.addEventListener("click", (event) => {
|
element.addEventListener("click", (event) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user