This commit is contained in:
2026-01-28 01:24:46 +01:00
parent 2e91070be7
commit 2665b01a74
3 changed files with 9 additions and 4 deletions

View File

@@ -1 +1 @@
1.1.41
1.1.42

View File

@@ -175,7 +175,8 @@
try {
if (isText && component.components) {
try {
component.components(content);
const comps = component.components();
if (comps && comps.reset) comps.reset();
} catch {}
}
if (component.set) component.set('content', content);

View File

@@ -437,7 +437,8 @@
syncing.add(target);
if (target.components) {
try {
target.components(viewHtml);
const comps = target.components();
if (comps && comps.reset) comps.reset();
} catch {}
}
if (target.set) target.set('content', viewHtml);
@@ -473,7 +474,10 @@
try {
syncing.add(target);
if (target.components) {
try { target.components(viewHtml); } catch {}
try {
const comps = target.components();
if (comps && comps.reset) comps.reset();
} catch {}
}
if (target.set) target.set('content', viewHtml);
target.trigger && target.trigger('change:content');