This commit is contained in:
2026-01-26 01:27:38 +01:00
parent 5d3dca2788
commit a1de055d93

View File

@@ -171,16 +171,8 @@
comps.reset(); comps.reset();
} }
} }
if (typeof component.append === 'function') {
try { component.append(content); } catch {}
} else if (component.components && typeof component.components === 'function') {
try { component.components(content); } catch {}
}
if (component.set) component.set('content', content); if (component.set) component.set('content', content);
} catch {} } catch {}
if (component.view && component.view.el) {
component.view.el.innerHTML = content;
}
if (component.view && typeof component.view.render === 'function') { if (component.view && typeof component.view.render === 'function') {
component.view.render(); component.view.render();
} }
@@ -742,13 +734,6 @@
forceApply(); forceApply();
setTimeout(forceApply, 0); setTimeout(forceApply, 0);
setTimeout(forceApply, 50); setTimeout(forceApply, 50);
setTimeout(() => {
try {
if (component.view && component.view.el) {
component.view.el.innerHTML = html;
}
} catch {}
}, 120);
if (this.B && this.B.DEBUG_RTE) { if (this.B && this.B.DEBUG_RTE) {
try { try {
const gjsHtml = editor && typeof editor.getHtml === 'function' ? editor.getHtml() : ''; const gjsHtml = editor && typeof editor.getHtml === 'function' ? editor.getHtml() : '';