diff --git a/public/assets/js/bridge/category-config.js b/public/assets/js/bridge/category-config.js index 0a2cfaf..25f596c 100644 --- a/public/assets/js/bridge/category-config.js +++ b/public/assets/js/bridge/category-config.js @@ -17,13 +17,6 @@             files: ['blocks-standard.js'], registration_mode: 'sync',         }, - placeholders: { - ord: 5, - open: true, - label: '🔖 Placeholder', - files: ['blocks-placeholder.js'], - registration_mode: 'sync', - },         // --- 2. BAUSTEINE (bausteine) ---         bausteine: {             // ... (Bleibt unverändert, da es kein API-Async-Laden nutzt) diff --git a/public/editor/bridge-core.js b/public/editor/bridge-core.js index c1a10d3..ff38211 100644 --- a/public/editor/bridge-core.js +++ b/public/editor/bridge-core.js @@ -371,31 +371,7 @@ } }); } - const ensurePlaceholderBlocks = () => { - if (ed.__bridgePlaceholderActive) { - return true; - } - if (window.BridgeBlocksPlaceholder && typeof window.BridgeBlocksPlaceholder.register === 'function') { - try { - window.BridgeBlocksPlaceholder.register(ed); - ed.__bridgePlaceholderActive = true; - log('PLACEHOLDER SYNC', 'Placeholder-Plugin nachträglich aktiviert.', 'lime'); - } catch (err) { - log('PLACEHOLDER ERROR', `Fehler beim Aktivieren des Placeholder-Plugins: ${err.message}`, 'red', 'error'); - } - return true; - } - return false; - }; - if (!ensurePlaceholderBlocks()) { - const fallbackSrc = B.BASE_PATH_BRIDGE + 'blocks-placeholder.js'; - log('PLACEHOLDER LOAD', 'Placeholder-Plugin fehlt – lade Fallback-Skript.', '#B45309', 'warn'); - loadScript(fallbackSrc, () => { - if (!ensurePlaceholderBlocks()) { - log('PLACEHOLDER ERROR', 'Placeholder-Plugin konnte auch nach Fallback nicht initialisiert werden.', 'red', 'error'); - } - }); - } + // Placeholder-Plugin entfernt: kein Fallback-Laden. // --------------------------------------------------- log('INIT API', 'API-Elemente werden nun durch das Plugin bridge-blocks-api geladen. (ASYNCHRON)', 'orange');