asdasd
This commit is contained in:
@@ -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() : '';
|
||||||
|
|||||||
Reference in New Issue
Block a user