ante, Du hoerst einfach nicht zu!
(function () { function cleanAccordion() { document.querySelectorAll('.acf-accordion details.e-n-accordion-item').forEach(function (item) { // Clone the item so we can safely modify it const clone = item.cloneNode(true); // Remove the title (summary) const summary = clone.querySelector('summary'); if (summary) summary.remove(); // Get remaining text (this is the actual content) const text = clone.textContent.replace(/\s+/g, '').trim(); // If no real content → remove original item if (!text) { item.remove(); } }); } // Run repeatedly to beat Elementor rendering setInterval(cleanAccordion, 500); })();