Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/14972

Vanessaba9bb4f7d162
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.ts
index 741aaea820..b8f7d3efc8 100644
--- a/app/src/protyle/util/paste.ts
+++ b/app/src/protyle/util/paste.ts
@@ -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");