This commit is contained in:
Vanessa 2022-07-20 09:08:49 +08:00
parent b53c0e4758
commit 85aaede426
4 changed files with 8 additions and 11 deletions

View file

@ -65,12 +65,12 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false) =>
action: "update",
id,
data: oldHTML
})
});
doOperation.push({
action: "update",
id,
data: blockElement.outerHTML
})
});
}
const tempElement = document.createElement("template");
tempElement.innerHTML = html;