adasd
This commit is contained in:
@@ -1104,14 +1104,18 @@
|
||||
}
|
||||
return false;
|
||||
};
|
||||
if (!ensurePlaceholderRte()) {
|
||||
const fallbackSrc = B.BASE_PATH_BRIDGE + 'blocks-placeholder.js';
|
||||
log('PLACEHOLDER LOAD', 'Placeholder-RTE wird geladen.', '#B45309', 'warn');
|
||||
loadScript(fallbackSrc, () => {
|
||||
if (!ensurePlaceholderRte()) {
|
||||
log('PLACEHOLDER ERROR', 'Placeholder-RTE konnte nicht initialisiert werden.', 'red', 'error');
|
||||
}
|
||||
});
|
||||
if (!B.DISABLE_PLACEHOLDERS) {
|
||||
if (!ensurePlaceholderRte()) {
|
||||
const fallbackSrc = B.BASE_PATH_BRIDGE + 'blocks-placeholder.js';
|
||||
log('PLACEHOLDER LOAD', 'Placeholder-RTE wird geladen.', '#B45309', 'warn');
|
||||
loadScript(fallbackSrc, () => {
|
||||
if (!ensurePlaceholderRte()) {
|
||||
log('PLACEHOLDER ERROR', 'Placeholder-RTE konnte nicht initialisiert werden.', 'red', 'error');
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
log('PLACEHOLDER SKIP', 'Placeholder-RTE deaktiviert (Test).', '#B45309', 'warn');
|
||||
}
|
||||
// ---------------------------------------------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user