• Resolved alolbiker

    (@alolbiker)


    Hello,
    I work with Divi Theme – Divi Builder and have the following problem.
    If “Cookies and Content Security Policy” is activated, the work with “Divi Builder” is blocked.
    How to set cookies plugin that works with “Divi Builder”.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    I heard that there was a problem with Divi not setting editing as being admin and rendering it as front end. I will look in to this for a future release.

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    @alolbiker, I just tested a site with Divi Theme and Divi Builder and had no problem editing the page with Cookies and Content Security Policy active.

    I used the latest version of Divi Theme, Divi Builder and Cookies and Content Security Policy. Maybe there is some other plugin.

    If you open console in your browser, do you get any warnings for Content Security Policy blocking external domains?

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    @alolbiker, I’ve now contacted the other person that had problems with Divi and asked her what the problem was and she tested again and there was no issue. So maybe you just need to update your Divi or WordPress?

    Thread Starter alolbiker

    (@alolbiker)

    Thank you for the feedback.
    My Divi Theme is up to date, I’ve already checked that.
    I have already tested, as soon as I deactivate the cookies plugin, everything works again.
    I think that the Cookies plugin needs script permission for Divi Builder. Unfortunately, I don’t know what exactly needs to be entered.

    https://www.bilder-upload.eu/bild-027001-1611504949.png.html
    https://www.bilder-upload.eu/bild-307eb0-1611505106.png.html

    [URL=https://www.bilder-upload.eu/bild-027001-1611504949.png.html][IMG]https://www.bilder-upload.eu/thumb/027001-1611504949.png[/IMG][/URL]

    [URL=https://www.bilder-upload.eu/bild-307eb0-1611505106.png.html][IMG]https://www.bilder-upload.eu/thumb/307eb0-1611505106.png[/IMG][/URL]

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    I did not have any script permission from Elegant themes, maybe that is depending on your setup. Can you check what scripts are loaded from elegantthemes.com?

    Hi!

    I ended up with the same problem…
    I have latest Divi v4.9.0, latest wordpress v5.6.1
    I have installed Cookies and Content Security Policy v1.77
    and edit page with Divi Editor is impossible, it gets blocked… I tried to set some rules in the domain’s plugin setting but we can’t manage blob, workers etc..

    Do you have an idea to how I can get things to work?

    Thank you in advance!

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    If you right click and choose Inspect element and then choose the console tab. What do you see there?

    Thread Starter alolbiker

    (@alolbiker)

    So I haven’t found a solution here. I found the plugin good, but to be able to work with divi, it would always have to be deactivated. I have now installed other plugins for cookies content. It’s not very nice, but it seems to work. If support would correct the bug here, I’ll go back to the previous plugin. 🙂

    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    If I could just get hold of what the console says when you’re editing in Divi I would probably be able to solve it.

    In the inspecter, all request from Divi is blocked by content security policy!
    Divi uses some React for its builder, some content is loaded with blob:data, those are blocked etc…

    I am not really a wordpress developer, just trying to help someone.

    I am used to CSP while developing python Flask app but here, I don’t really know.
    Also, In the plugin settings, we don’t have a way to set domains in “default-src”, nor to set blob: or data:
    I’ve tried but the plugin adds “http://” in front of.

    Anyway, going to recommande to do the same as @alolbiker as it is quicker for now.

    Maybe if I have time, i will dig into the pluging code.

    Thank you!

    a little screenshot uploaded on public sharing image on ImgBB
    imgBB screenshot error in console

    If you can tell us how we can add blob: in our CSP setting, it could be great and will fix everything i hope, cause the other errors, I took them away by specifying domains in the settings’ plugin.

    thank you!

    • This reply was modified 5 years, 2 months ago by sa5r1o7o7.
    • This reply was modified 5 years, 2 months ago by sa5r1o7o7.
    Plugin Author Johan Jonk Stenström

    (@jonkastonka)

    I also get blocked bu blob: but it doesn’t stop Divi from working. I can still edit anything.

    I don’t want to use default-src since you then allow anything from that domain. I wanted to be more specific. Maybe I should reevaluate.

    I think maybe something else is blocking you from editing.

    If you want to mail me the entire console, please do.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘Divi Theme – Divi Builder Konflikt’ is closed to new replies.