Vanessa 2025-04-23 10:33:39 +08:00
parent bd3506ee9f
commit 9c970b1bdc

View file

@ -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);