Skip to content

Validation issues with block.json in a few core blocks #35902

@mkaz

Description

@mkaz

What problem does this address?

When adding the schema definition to core blocks in #35900 it highlighted the following validation errors in a few core blocks.

I'm not sure if the issues are with the schema definition or invalid properties in the block.json each will need to be investigated, adding this ticket so they are not lost.

  • Button block - spacing - padding - horizontal - invalid value
  • Column block: templateLock - type missing
  • Cover block: templateLock - type missing
  • File block: viewScript - invalid property
  • Group block: templateLock - type missing
  • Navigation block: viewScript - invalid property
  • Post-Comment-content block - spacing - padding - horizontal - invalid value
  • Post-comments-form block - style - invalid type

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Package] Block library/packages/block-library[Type] Code QualityIssues or PRs that relate to code quality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions