When trying to create a new block through the WP CLI, it is currently allowing you to add extra slashes to the namespace definition ( eg myplugin/other_namespace_part ) which breaks the block.json structure giving us a result like this:
We need to prevent the users from adding slashes into the namespace parameter.
When trying to create a new block through the WP CLI, it is currently allowing you to add extra slashes to the namespace definition ( eg
myplugin/other_namespace_part
) which breaks the block.json structure giving us a result like this:We need to prevent the users from adding slashes into the namespace parameter.