This commit is contained in:
Vanessa 2022-11-25 23:09:16 +08:00
parent a8f3b1762a
commit b2ba9ace07
10 changed files with 33 additions and 36 deletions

View file

@ -608,7 +608,7 @@ export class Gutter {
html += item.outerHTML;
});
if (protyle.disabled) {
html = getEnableHTML(html)
html = getEnableHTML(html);
}
writeText(protyle.lute.BlockDOM2HTML(html));
}
@ -983,9 +983,9 @@ export class Gutter {
}, {
label: window.siyuan.languages.copy + " HTML",
click() {
let html = nodeElement.outerHTML
let html = nodeElement.outerHTML;
if (protyle.disabled) {
html = getEnableHTML(html)
html = getEnableHTML(html);
}
writeText(protyle.lute.BlockDOM2HTML(html));
}