This commit is contained in:
2026-01-26 22:11:25 +01:00
parent 9ab2104c51
commit 7ac4cc60f7
2 changed files with 1 additions and 14 deletions

View File

@@ -1 +1 @@
1.1.7
1.1.8

View File

@@ -171,20 +171,7 @@
if (!component) return;
const content = String(html || '');
try {
const isText = (component.is && component.is('text'))
|| (component.get && component.get('type') === 'text');
if (component.set) component.set('content', content);
if (isText && component.view && component.view.el) {
try {
component.view.el.innerHTML = content;
} catch {}
}
if (isText && component.components) {
try {
const comps = component.components();
if (comps && comps.length) comps.reset();
} catch {}
}
} catch {}
if (component.view && typeof component.view.render === 'function') {
component.view.render();