This commit is contained in:
2026-01-17 02:29:40 +01:00
parent 5f085a23a8
commit af4e1900a9

View File

@@ -323,8 +323,13 @@
const html = sanitizeInlineHtml(rawHtml, content.textContent || ''); const html = sanitizeInlineHtml(rawHtml, content.textContent || '');
component.__bridgeRteLastContent = html; component.__bridgeRteLastContent = html;
logConsoleSnapshot(editor, component, 'before-save'); logConsoleSnapshot(editor, component, 'before-save');
const forceApply = () => {
applyContentToComponent(editor, component, html); applyContentToComponent(editor, component, html);
logConsoleSnapshot(editor, component, 'after-save'); logConsoleSnapshot(editor, component, 'after-save');
};
forceApply();
setTimeout(forceApply, 0);
setTimeout(forceApply, 50);
closeModal(); closeModal();
}); });