mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 14:40:12 +01:00
This commit is contained in:
parent
07046cae57
commit
d5c2537274
1 changed files with 1 additions and 0 deletions
|
|
@ -396,6 +396,7 @@ export const openFileAttr = (attrs: IObject, focusName = "bookmark", protyle?: I
|
|||
});
|
||||
if (focusName === "av") {
|
||||
dialog.element.dispatchEvent(new CustomEvent("click", {detail: "NodeAttributeView"}));
|
||||
(document.activeElement as HTMLElement)?.blur();
|
||||
} else if (focusName === "custom") {
|
||||
dialog.element.dispatchEvent(new CustomEvent("click", {detail: "custom"}));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue