Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/11366

Vanessa4a881a62ca81
diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts
index 67519a627d..e7012be5c7 100644
--- a/app/src/protyle/wysiwyg/transaction.ts
+++ b/app/src/protyle/wysiwyg/transaction.ts
@@ -676,6 +676,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, isUndo:
return true;
}
});
+ document.querySelector("wbr")?.remove();
} else {
focusByWbr(protyle.wysiwyg.element, range);
}