This commit is contained in:
2026-01-26 00:18:16 +01:00
parent d03c4a5d10
commit c905eb3fb0
4 changed files with 80 additions and 1 deletions

View File

@@ -33,6 +33,14 @@
}
} catch {}
}
if (!html) {
try {
const body = editor.Canvas && editor.Canvas.getBody ? editor.Canvas.getBody() : null;
if (body && body.innerHTML) {
html = String(body.innerHTML || '');
}
} catch {}
}
try {
const wrapper = editor.getWrapper && editor.getWrapper();
if (wrapper && wrapper.find) {