This commit is contained in:
2026-01-28 00:40:25 +01:00
parent 779f3adb45
commit 639f803eb7
3 changed files with 11 additions and 1 deletions

View File

@@ -1 +1 @@
1.1.37
1.1.38

View File

@@ -173,6 +173,11 @@
const isText = (component.is && component.is('text'))
|| (component.get && component.get('type') === 'text');
try {
if (isText && component.components) {
try {
component.components(content);
} catch {}
}
if (component.set) component.set('content', content);
} catch {}
if (component.view && typeof component.view.render === 'function') {

View File

@@ -434,6 +434,11 @@
if (viewHtml === modelHtml) return;
try {
syncing.add(target);
if (target.components) {
try {
target.components(viewHtml);
} catch {}
}
if (target.set) target.set('content', viewHtml);
target.trigger && target.trigger('change:content');
if (target.view && typeof target.view.render === 'function') {