When i want to hide blocks and then accept all cookies, the blocks won't re-render.
I have created blocks to render my iframes, so that i can stop the blocks from being rendered until the user gives consent. (No, just using the iframe feature doesn't help, the frames are still rendered then.)
the block is recognised but I think somehow the site won't notice the consent.
Issue fork cookies_addons-3475743
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
xdkevgo commentedI am using Drupal core 11.0.4 and php 8.3.11
Comment #3
guido_sFor iframes or videos you'd need to add the correct filter in your text format settings if you haven't done this when testing with the submodule for iframes. But we'll have a look into the blocks too.
You used content blocks right? Or did you add a block programmatically?
Comment #10
_shyI re-opened an MR due to the problem with pushing changes.
I found an issue with the JS code, which triggers an error when rendering or replacing placeholders.
Comment #12
guido_sSeems this was an issue where I messed up by trusting too much in the linters.
@_shy identified the issue and we just merged a fix.
I will release a new version.
Comment #13
guido_s