mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-19 06:46:09 +01:00
This commit is contained in:
parent
62be966209
commit
f2532998e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue