From af4e1900a96d563202f39ab57d8b3d51827631f2 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 17 Jan 2026 02:29:40 +0100 Subject: [PATCH] updates --- public/assets/js/bridge/rte-editor.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/assets/js/bridge/rte-editor.js b/public/assets/js/bridge/rte-editor.js index 2a7917f..5d4e00b 100644 --- a/public/assets/js/bridge/rte-editor.js +++ b/public/assets/js/bridge/rte-editor.js @@ -323,8 +323,13 @@ const html = sanitizeInlineHtml(rawHtml, content.textContent || ''); component.__bridgeRteLastContent = html; logConsoleSnapshot(editor, component, 'before-save'); - applyContentToComponent(editor, component, html); - logConsoleSnapshot(editor, component, 'after-save'); + const forceApply = () => { + applyContentToComponent(editor, component, html); + logConsoleSnapshot(editor, component, 'after-save'); + }; + forceApply(); + setTimeout(forceApply, 0); + setTimeout(forceApply, 50); closeModal(); });