diff --git a/public/assets/js/bridge/blocks-placeholder.js b/public/assets/js/bridge/blocks-placeholder.js index 05b6975..b253e2b 100644 --- a/public/assets/js/bridge/blocks-placeholder.js +++ b/public/assets/js/bridge/blocks-placeholder.js @@ -1059,12 +1059,7 @@ const refreshPlaceholderComponent = (component) => { editor.__bridgePlaceholderEventsBound = true; } - const bindRteButton = () => ensureRtePlaceholderButton(editor); - if (editor.RichTextEditor) { - bindRteButton(); - } else if (typeof editor.on === 'function') { - editor.on('load', bindRteButton, { once: true }); - } + // RTE-Integration deaktiviert (RichText wird aktuell ausgebaut). addOnce(bm, 'cust-placeholder-custom', { id: 'cust-placeholder-custom', diff --git a/public/editor/bridge-core.js b/public/editor/bridge-core.js index 7648aee..4415d41 100644 --- a/public/editor/bridge-core.js +++ b/public/editor/bridge-core.js @@ -1165,14 +1165,6 @@ } }, }); - editor.Commands.add('bridge-open-richtext', { - __bridgeRteStub: true, - run(ed, sender, opts = {}) { - if (sender && sender.set) sender.set('active', 0); - const component = opts.component || ed.getSelected(); - openRichTextModal(ed, component); - }, - }); editor.Commands.add('bridge-table:edit', { __bridgeTableStub: true, run(ed, sender, opts = {}) { @@ -1202,7 +1194,6 @@ log('CORE WARN', `textTags Konfiguration fehlgeschlagen: ${e.message}`, 'orange', 'warn'); } - setupRichTextEditor(ed); setupTableBuilder(ed); setupPlainTextPreserver(ed); loadDynamicFonts();