Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/13237

Vanessaba72898aba38
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 62f3d6185c..4d6bd2fd8a 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -942,7 +942,9 @@ export class WYSIWYG {
if (!firstElement) {
return;
}
- if (firstElement.classList.contains("protyle-wysiwyg") || firstElement.classList.contains("list") || firstElement.classList.contains("sb") || firstElement.classList.contains("bq")) {
+ if (firstElement.classList.contains("protyle-wysiwyg") || firstElement.classList.contains("list") ||
+ firstElement.classList.contains("li") || firstElement.classList.contains("sb") ||
+ firstElement.classList.contains("bq")) {
firstElement = document.elementFromPoint(newLeft, newTop + 16);
}
if (!firstElement) {