adasd
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user