Vanessa 2024-05-11 16:06:07 +08:00
parent 89c55026ab
commit 178a7e8d77
2 changed files with 2 additions and 2 deletions

View file

@ -995,7 +995,7 @@ export class Toolbar {
/// #endif
const textElement = this.subElement.querySelector(".b3-text-field") as HTMLTextAreaElement;
if (types.includes("NodeHTMLBlock")) {
textElement.value = Lute.UnEscapeHTMLStr(renderElement.querySelector("protyle-html").getAttribute("data-content") || "");
textElement.value = renderElement.querySelector("protyle-html").getAttribute("data-content") || "";
} else if (isInlineMemo) {
textElement.value = Lute.UnEscapeHTMLStr(renderElement.getAttribute("data-inline-memo-content") || "");
} else {