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