mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-21 17:10:12 +01:00
This commit is contained in:
parent
3dd1bd8eee
commit
1c59aa2243
1 changed files with 2 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ export const openMenuPanel = (options: {
|
||||||
const isCustomAttr = !options.blockElement.classList.contains("av");
|
const isCustomAttr = !options.blockElement.classList.contains("av");
|
||||||
let data = response.data as IAV;
|
let data = response.data as IAV;
|
||||||
let html;
|
let html;
|
||||||
const fields = getFieldsByData(data);
|
let fields = getFieldsByData(data);
|
||||||
if (options.type === "config") {
|
if (options.type === "config") {
|
||||||
html = getViewHTML(data);
|
html = getViewHTML(data);
|
||||||
} else if (options.type === "properties") {
|
} else if (options.type === "properties") {
|
||||||
|
|
@ -1416,6 +1416,7 @@ export const openMenuPanel = (options: {
|
||||||
nodeElement: options.blockElement,
|
nodeElement: options.blockElement,
|
||||||
data: data
|
data: data
|
||||||
});
|
});
|
||||||
|
fields = getFieldsByData(data);
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue