From 92d3f0b0bffbb107169285aff6b45b2ca073838d Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 4 Oct 2025 16:14:35 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20https://github.com/siyuan-note/siyuan/i?= =?UTF-8?q?ssues/15989=20=E8=BD=AC=E6=8D=A2=E6=8A=98=E5=8F=A0=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E4=B8=8D=E5=B1=95=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/wysiwyg/transaction.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index 898bc61bd..9721848df 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -1057,10 +1057,6 @@ export const turnsIntoTransaction = (options: { const undoOperations: IOperation[] = []; let previousId: string; selectsElement.forEach((item, index) => { - if ((options.type === "Blocks2Ps" || options.type === "Blocks2Hs") && - item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") { - setFold(options.protyle, item, undefined, undefined, false); - } item.classList.remove("protyle-wysiwyg--select"); item.removeAttribute("select-start"); item.removeAttribute("select-end");