From ce4ab75c9e5667b482726136514263878ccf05e5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 24 Nov 2025 12:20:40 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14567 --- app/src/protyle/wysiwyg/commonHotkey.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/wysiwyg/commonHotkey.ts b/app/src/protyle/wysiwyg/commonHotkey.ts index 05438fd73..549317b80 100644 --- a/app/src/protyle/wysiwyg/commonHotkey.ts +++ b/app/src/protyle/wysiwyg/commonHotkey.ts @@ -316,6 +316,7 @@ export const duplicateBlock = async (nodeElements: Element[], protyle: IProtyle) tempElement.setAttribute("data-node-id", newId); tempElement.setAttribute("updated", newId.split("-")[0]); clearBlockElement(tempElement); + tempElement.classList.add("protyle-wysiwyg--select"); tempElement.querySelectorAll("[data-node-id]").forEach(childItem => { const subNewId = Lute.NewNodeID(); childItem.setAttribute("data-node-id", subNewId);