Skip to content

Block compatibility issue - "Invalid parameter(s): attributes" error in Gutenberg editor #173

@jaydickinson

Description

@jaydickinson

Description

PatternCSS causes other popular blocks to display an error in the Gutenberg editor:

Image

While the blocks still function correctly on the frontend, they lose their preview capability in the Gutenberg admin editor and sometimes settings. This appears to be related to how PatternCSS interacts with block attributes.

Affected blocks observed

Breadcrumb NavXT block
Native Gravity Forms block
(Potentially others - these are confirmed examples)

Steps to reproduce

Install and activate Breadcrumb NavXT plugin
Add a Breadcrumb NavXT block to any page
Verify the block displays correctly in the editor
Install and activate PatternCSS
Return to the page with the Breadcrumb NavXT block
Observe the "Invalid parameter(s): attributes" error where the block preview should be

The same reproduction steps apply for Gravity Forms blocks.

PatternCSS: Version 1.5.2
Breadcrumb NavXT: Version 7.4.1
WordPress version: 6.8.2

Great plugin btw

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions