Skip to content

Version 6.5 block.json schema missing the viewScriptModule field #62780

@wongjn

Description

@wongjn

Description

The JSON schema for block.json for WordPress version 6.5 is missing the viewScriptModule field that was introduced in WordPress 6.5. As of note, the WP 6.6 version does have this field included.

Step-by-step reproduction instructions

  1. Go to https://schemas.wp.org/wp/6.5/block.json
  2. See there is no viewScriptModule property specified.

Screenshots, screen recording, code snippet

image

{
	"$schema": "https://schemas.wp.org/wp/6.5/block.json",
	"apiVersion": 3,
	"name": "foo/bar",
	"title": "Foo Bar",
	"category": "theme",
	"viewScriptModule": "file:./view.module.js"
}

Environment info

  • WordPress 6.5.4
  • Chrome 126.0.6478.114 (64-bit)
  • Windows 11

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions