This commit is contained in:
2026-01-16 02:14:35 +01:00
parent f7d9b111e1
commit 401255b92a
2 changed files with 1 additions and 15 deletions

View File

@@ -1059,12 +1059,7 @@ const refreshPlaceholderComponent = (component) => {
editor.__bridgePlaceholderEventsBound = true; editor.__bridgePlaceholderEventsBound = true;
} }
const bindRteButton = () => ensureRtePlaceholderButton(editor); // RTE-Integration deaktiviert (RichText wird aktuell ausgebaut).
if (editor.RichTextEditor) {
bindRteButton();
} else if (typeof editor.on === 'function') {
editor.on('load', bindRteButton, { once: true });
}
addOnce(bm, 'cust-placeholder-custom', { addOnce(bm, 'cust-placeholder-custom', {
id: 'cust-placeholder-custom', id: 'cust-placeholder-custom',

View File

@@ -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', { editor.Commands.add('bridge-table:edit', {
__bridgeTableStub: true, __bridgeTableStub: true,
run(ed, sender, opts = {}) { run(ed, sender, opts = {}) {
@@ -1202,7 +1194,6 @@
log('CORE WARN', `textTags Konfiguration fehlgeschlagen: ${e.message}`, 'orange', 'warn'); log('CORE WARN', `textTags Konfiguration fehlgeschlagen: ${e.message}`, 'orange', 'warn');
} }
setupRichTextEditor(ed);
setupTableBuilder(ed); setupTableBuilder(ed);
setupPlainTextPreserver(ed); setupPlainTextPreserver(ed);
loadDynamicFonts(); loadDynamicFonts();