From 401d105ae379d62f2ce2f289065c36624d71c07e Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Sat, 17 Jan 2026 01:54:14 +0100 Subject: [PATCH] asdasd --- public/assets/js/bridge/rte-editor.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/public/assets/js/bridge/rte-editor.js b/public/assets/js/bridge/rte-editor.js index f42d551..c24d620 100644 --- a/public/assets/js/bridge/rte-editor.js +++ b/public/assets/js/bridge/rte-editor.js @@ -96,11 +96,6 @@ if (!component) return; const content = String(html || ''); try { - const isText = (component.is && component.is('text')) - || (component.get && component.get('type') === 'text'); - if (isText && component.components) { - component.components(content); - } if (component.set) component.set('content', content); } catch {} if (component.view && component.view.el) { @@ -318,12 +313,6 @@ logConsoleSnapshot(editor, component, 'before-save'); applyContentToComponent(editor, component, html); logConsoleSnapshot(editor, component, 'after-save'); - try { - if (editor && editor.setEditing) editor.setEditing(null); - if (editor && editor.RichTextEditor && editor.RichTextEditor.disable && component.view && component.view.el) { - editor.RichTextEditor.disable(component.view.el); - } - } catch {} closeModal(); });