asdasd
This commit is contained in:
@@ -219,6 +219,19 @@
|
||||
if (editor && typeof editor.trigger === 'function') {
|
||||
editor.trigger('component:update', component);
|
||||
}
|
||||
if (isText && component.view && component.view.el) {
|
||||
const reapply = () => {
|
||||
try {
|
||||
const currentHtml = String(component.view.el.innerHTML || '').trim();
|
||||
const targetHtml = String(content || '').trim();
|
||||
if (targetHtml && currentHtml !== targetHtml) {
|
||||
component.view.el.innerHTML = targetHtml;
|
||||
}
|
||||
} catch {}
|
||||
};
|
||||
setTimeout(reapply, 0);
|
||||
setTimeout(reapply, 50);
|
||||
}
|
||||
}
|
||||
|
||||
collectFrameCss(editor) {
|
||||
|
||||
Reference in New Issue
Block a user