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