From 27030446f6d9191e6cb27f80a113c94f09709a56 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 11 Nov 2025 17:40:33 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/siyuan/issues/16315 --- app/src/protyle/util/editorCommonEvent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/editorCommonEvent.ts b/app/src/protyle/util/editorCommonEvent.ts index 255921a31..1a7193ed6 100644 --- a/app/src/protyle/util/editorCommonEvent.ts +++ b/app/src/protyle/util/editorCommonEvent.ts @@ -48,7 +48,7 @@ const moveTo = async (protyle: IProtyle, sourceElements: Element[], targetElemen let tempTargetElement = targetElement; let isSameLi = true; sourceElements.find(item => { - if (!item.classList.contains("li") || + if (!item.classList.contains("li") || !targetElement.classList.contains("li") || targetElement.getAttribute("data-subtype") !== item.getAttribute("data-subtype")) { isSameLi = false; return true;