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

Block Targeting validation on preset blocks #554

Open
miazbikowski opened this issue Nov 4, 2024 · 0 comments · May be fixed by #561
Open

Block Targeting validation on preset blocks #554

miazbikowski opened this issue Nov 4, 2024 · 0 comments · May be fixed by #561
Assignees
Labels
enhancement New feature or request

Comments

@miazbikowski
Copy link
Contributor

In preset definitions, we want to "soft validate" nested children in block presets (all levels of nesting). We display an error message if a block (public/private) is not accepted by the parent (from the schema). The presets blocks attribute in the section or block schema must contain @app, @theme, or be an existing block in "blocks" at the root of the schema

@navdeep5 navdeep5 linked a pull request Nov 6, 2024 that will close this issue
8 tasks
@charlespwd charlespwd added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants