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();