From f2532998e42d1761d665bbc644c80a0b296b0eb6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 17 Jan 2026 19:22:09 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16852 --- app/src/protyle/wysiwyg/transaction.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/wysiwyg/transaction.ts b/app/src/protyle/wysiwyg/transaction.ts index 909bc35c9..768b11348 100644 --- a/app/src/protyle/wysiwyg/transaction.ts +++ b/app/src/protyle/wysiwyg/transaction.ts @@ -1130,7 +1130,7 @@ export const turnsIntoTransaction = (options: { const id = item.getAttribute("data-node-id"); const tempElement = document.createElement("template"); - if (!options.isContinue) { + if (!options.isContinue || options.level) { // @ts-ignore let newHTML = options.protyle.lute[options.type](item.outerHTML, options.level); tempElement.innerHTML = newHTML;