mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
This commit is contained in:
parent
bd3506ee9f
commit
9c970b1bdc
1 changed files with 3 additions and 1 deletions
|
|
@ -233,7 +233,9 @@ export const input = async (protyle: IProtyle, blockElement: HTMLElement, range:
|
|||
protyle.toolbar.showRender(protyle, realElement);
|
||||
} else if (realType === "NodeBlockQueryEmbed") {
|
||||
blockRender(protyle, realElement);
|
||||
protyle.toolbar.showRender(protyle, realElement);
|
||||
if (!realElement.getAttribute("data-content")) {
|
||||
protyle.toolbar.showRender(protyle, realElement);
|
||||
}
|
||||
hideElements(["hint"], protyle);
|
||||
} else if (realType === "NodeThematicBreak" && focusHR) {
|
||||
focusBlock(blockElement);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue