mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 06:46:09 +01:00
This commit is contained in:
parent
375224d96b
commit
62be966209
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue