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/18130

Vanessa581ecffdb6fd
diff --git a/app/src/protyle/wysiwyg/remove.ts b/app/src/protyle/wysiwyg/remove.ts
index 49c12604b7..0a2ef11ebe 100644
--- a/app/src/protyle/wysiwyg/remove.ts
+++ b/app/src/protyle/wysiwyg/remove.ts
@@ -346,6 +346,7 @@ export const removeBlock = async (protyle: IProtyle, blockElement: Element, rang
(type === "Delete" && (
blockParentElement.parentElement.classList.contains("protyle-wysiwyg") ||
blockParentElement.parentElement.classList.contains("li") ||
+ blockParentElement.parentElement.classList.contains("callout-content") ||
blockParentElement.parentElement.classList.contains("sb")
))
)) {