asdasd
This commit is contained in:
@@ -896,7 +896,8 @@
|
||||
all.forEach((action) => {
|
||||
const id = getId(action);
|
||||
if (!id) return;
|
||||
if (allowed.has(id) || String(id).toLowerCase().includes('placeholder')) return;
|
||||
const lower = String(id).toLowerCase();
|
||||
if (allowed.has(id) || lower.includes('placeholder')) return;
|
||||
if (typeof rte.remove === 'function') {
|
||||
rte.remove(id);
|
||||
}
|
||||
@@ -968,6 +969,11 @@
|
||||
setupPlainTextPreserver(ed);
|
||||
}
|
||||
configureInlineRte(ed);
|
||||
if (ed && ed.on) {
|
||||
ed.on('load', () => configureInlineRte(ed));
|
||||
ed.on('rte:custom', () => configureInlineRte(ed));
|
||||
ed.on('rte:enable', () => configureInlineRte(ed));
|
||||
}
|
||||
setupBlurLogger(ed);
|
||||
loadDynamicFonts();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user