Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISBAT Have blocks with an attribute named Animation w/o breaking #2623

Open
4 tasks
margolisj opened this issue Dec 19, 2024 · 0 comments
Open
4 tasks

ISBAT Have blocks with an attribute named Animation w/o breaking #2623

margolisj opened this issue Dec 19, 2024 · 0 comments
Labels
[Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected

Comments

@margolisj
Copy link

Describe the bug:

I should be able to filter blocks that I do not want being accessed via this LayoutPreview / sanitizeBlocks function Code Here. Coblocks is currently breaking our Block Previews, as we also use an attribute named animation.

To reproduce:

  1. Have a non-Coblocks block that has an attribute named animation, where that attribute is expected to exist for render.
  2. Have both Plugins active. Load a block preview for
  3. See Error

Expected behavior:

We would expect you to be targeting only Coblocks blocks.

Screenshots:

Isolating the problem:

  • This bug happens with no other plugins activated
  • This bug happens with a default WordPress theme active
  • This bug happens without the Gutenberg plugin active
  • I can reproduce this bug consistently using the steps above

WordPress version:

6.7

Gutenberg version:

N/A

@margolisj margolisj added [Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] Low This issue/pull request is not immediate [Type] Bug Something that is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant