We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, when * is used in registerBlockExtension() to target all blocks, WP throws validation error:
*
registerBlockExtension()
hooks.js The namespace can only contain numbers, letters, dashes, periods, underscores and slashes.
Register new block extension with *, e.g.:
registerBlockExtension('*', { extensionName: 'demo/addExtension', attributes: {}, inlineStyleGenerator: () => {}, classNameGenerator: () => {}, order: 'before', Edit: () => <></>, });
The text was updated successfully, but these errors were encountered:
@palicko Thanks again for your contribution 🎉
Version 1.19.4 was just released and contains your fix: https://github.com/10up/block-components/releases/tag/v1.19.4
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the bug
Hey,
when
*
is used inregisterBlockExtension()
to target all blocks, WP throws validation error:Steps to Reproduce
Register new block extension with
*
, e.g.:Screenshots, screen recording, code snippet
Environment information
WordPress information
Code of Conduct
The text was updated successfully, but these errors were encountered: