From 3af929b6b53bd307f26f4d2e82991ee7186fd6d0 Mon Sep 17 00:00:00 2001 From: Lars Gebhardt-Kusche Date: Wed, 10 Dec 2025 22:42:49 +0100 Subject: [PATCH] sadsa --- public/assets/js/bridge/blocks-placeholder.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/public/assets/js/bridge/blocks-placeholder.js b/public/assets/js/bridge/blocks-placeholder.js index f32756f..b6dccf4 100644 --- a/public/assets/js/bridge/blocks-placeholder.js +++ b/public/assets/js/bridge/blocks-placeholder.js @@ -387,15 +387,6 @@ const buildPlaceholderHTML = (payload) => { container.appendChild(form); let tablesCache = placeholderSchemaStore.tables || []; - if (tablesCache.length) { - populateTables(tablesCache); - } else if (placeholderSchemaStore.promise) { - placeholderSchemaStore.promise.then(populateTables).catch(() => populateTables([])); - } else if (placeholderSchemaStore.status !== false) { - fetchPlaceholderSchema() - .then(populateTables) - .catch(() => populateTables([])); - } const toggleSections = () => { const type = typeSelect.value || 'custom'; @@ -587,7 +578,7 @@ const buildPlaceholderHTML = (payload) => { rte.__bridgePlaceholderButton = true; rte.add('bridge-placeholder', { - icon: '', + icon: '{}', attributes: { title: 'Placeholder einfügen' }, result: (rteInstance) => { const target = editor && editor.getSelected && editor.getSelected();