diff --git a/public/assets/js/bridge/blocks-placeholder.js b/public/assets/js/bridge/blocks-placeholder.js index b253e2b..05b6975 100644 --- a/public/assets/js/bridge/blocks-placeholder.js +++ b/public/assets/js/bridge/blocks-placeholder.js @@ -1059,7 +1059,12 @@ const refreshPlaceholderComponent = (component) => { editor.__bridgePlaceholderEventsBound = true; } - // RTE-Integration deaktiviert (RichText wird aktuell ausgebaut). + const bindRteButton = () => ensureRtePlaceholderButton(editor); + if (editor.RichTextEditor) { + bindRteButton(); + } else if (typeof editor.on === 'function') { + editor.on('load', bindRteButton, { once: true }); + } addOnce(bm, 'cust-placeholder-custom', { id: 'cust-placeholder-custom', diff --git a/public/editor/editor-core.php b/public/editor/editor-core.php index e038d02..4b48216 100644 --- a/public/editor/editor-core.php +++ b/public/editor/editor-core.php @@ -51,6 +51,7 @@ if ($fontSources) { window.BridgeParts = window.BridgeParts || {}; window.BridgeParts.DISABLE_EDITOR_EXTENSIONS = false; window.BridgeParts.DISABLE_EDITOR_BEHAVIOR = true; + window.BridgeParts.DISABLE_PLACEHOLDERS = false; window.BridgeParts.LOG_CONFIG = window.BridgeParts.LOG_CONFIG || {}; window.BridgeParts.LOG_CONFIG.INFO_ENABLED = false; window.BridgeParts.LOG_CONFIG.DATA_ENABLED = false;