• Resolved ProxxiM

    (@proxxim)


    I notice that in Gutenberg 16.7, the layout settings for the Group block are discarded when the Complianz plugin is active.

    If the Group block is in Row or Stack mode, all Layout settings are ineffective. At first I thought this was because of the Gutenberg 16.7-release. But after creating a clean WordPress install with only Gutenberg 16.7 active, I didn’t see the problem happening and narrowed it down to Complianz.

    Please see this screen capture for a demonstration of the problem. The layout settings are not applied (Editor side) when Complianz is active, while they are applied when the plugin is deactivated:
    https://drive.google.com/open?id=110shlnWzT0oVP7dOUM2Hsl1FKCYzLcRu&usp=drive_fs

    Details about this environment:
    WordPress version: v6.3.1
    Gutenberg version: v16.7
    Complianz | GDPR/CCPA Cookie Consent v6.5.4
    Theme: Twenty Twenty-Three v1.2

    I’ve also tested on a completely new environment and found the same issues. I haven’t even gone through the setup wizard of Complianz and the issue is already apparent.

    • This topic was modified 1 year, 2 months ago by ProxxiM. Reason: details about environment
    • This topic was modified 1 year, 2 months ago by ProxxiM. Reason: adding details about completely clean environment
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    Thanks for taking the time to report the issue.

    This is a strange one. If I remove the add_meta_box function, AND remove the ‘title’ from the Complianz Gutenberg block, the issue is gone. Both are normal WordPress functions, and as far as I can see these are used properly. The use of the title attribute in registerBlockType is documented here:
    https://developer.www.ads-software.com/block-editor/reference-guides/block-api/block-registration/#title

    The use of add_meta_box is documented here:
    https://developer.www.ads-software.com/reference/functions/add_meta_box/

    Even if I leave the callback function in the add_meta_box function empty, the issue is there. So just using the add_meta_box hook causes this issue, even with just default parameters.

    Summarising: the code that causes the issue is written according to the documentation, I don’t see any possible actions from our side.

    Possibly this is a bug in the Gutenberg plugin (it’s a beta plugin after all).

    As Gutenberg is a beta plugin it is quite possible this issue will get fixed soon. Before the changes are included in WordPress core we will thoroughly test to see if these issues remain, and take action accordingly.

    Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    I’m labeling it as resolved for now as it regards a beta plugin, and there doesn’t seem to be anything wrong with the code on our end.

    If there are new insights we’ll re-open it.

    Additionally we’ll keep an eye on new core updates regarding the block editor.

    Thanks again for your report.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Block Editor: Group block layout settings are not applied with Complianz active’ is closed to new replies.