Vanessa 2026-01-18 22:50:51 +08:00
parent dbeb703ad1
commit ba9bb4f7d1

View file

@ -354,7 +354,7 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
}
return;
}
protyle.hint.enableExtend = Constants.BLOCK_HINT_KEYS.concat("{{", "/", "#").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");