Vanessa 2026-01-17 19:02:01 +08:00
parent 375224d96b
commit 62be966209

View file

@ -354,7 +354,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
}
return;
}
protyle.hint.enableExtend = Constants.BLOCK_HINT_KEYS.includes(protyle.hint.splitChar);
protyle.hint.enableExtend = Constants.BLOCK_HINT_KEYS.concat("{{", "/", "#").includes(protyle.hint.splitChar);
hideElements(protyle.hint.enableExtend ? ["select"] : ["select", "hint"], protyle);
protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--hl").forEach(item => {
item.classList.remove("protyle-wysiwyg--hl");