The Iubenda cookie consent/privacy plugin breaks the builder interface. All of the tools and DOM are present, but the actual building area is blank/black. When deactivating the cookie consent script, the builder returns to normal.
The problem probably arises because Bricks is running in the frontend and the consent plugin blocks certain things. I don’t know the plugin unfortunately - is there a possibility to exclude it for administrators or on pages with certain parameters (?bricks=run)?
Alternatively, you can check if you’re in the builder or not with bricksIsFrontend.
<script>
document.addEventListener("DOMContentLoaded", function (e) {
if (bricksIsFrontend) {
console.log("hello frontend!");
}
});
</script>
Hi Daniele,
The code does nothing but write “hello frontend” in the console and was just an example how to check if you are in the frontend or not
I just installed the plugin in our test installation and can’t find any problems in the builder (Bricks 1.8 beta 2). It shows the Cookie notice, but the builder loads perfectly fine for me
Hi timmse, thank you so much for the response. The issue was resolved as soon as I correctly flagged the option as shown in the image. This allowed everything to work properly without any blockages.