asdasd
This commit is contained in:
@@ -171,16 +171,8 @@
|
||||
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);
|
||||
} catch {}
|
||||
if (component.view && component.view.el) {
|
||||
component.view.el.innerHTML = content;
|
||||
}
|
||||
if (component.view && typeof component.view.render === 'function') {
|
||||
component.view.render();
|
||||
}
|
||||
@@ -742,13 +734,6 @@
|
||||
forceApply();
|
||||
setTimeout(forceApply, 0);
|
||||
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) {
|
||||
try {
|
||||
const gjsHtml = editor && typeof editor.getHtml === 'function' ? editor.getHtml() : '';
|
||||
|
||||
Reference in New Issue
Block a user