"Multiple use" block validation logic improvement.#40901
Conversation
|
@getdave Thanks for your feedback on the previous PR. ( My local git history got messed up somehow, So I had to close that PR )
Could you please try with
I think
|
|
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
getdave
left a comment
There was a problem hiding this comment.
Thanks for this PR. It looks like a good enhancement 👍
Do you think you'll be able to move the tests to use Playwright as we now only use that tool to write new tests?
If you're struggling for time please let us know.
Thanks again
| */ | ||
| import { createNewPost, insertBlock } from '@wordpress/e2e-test-utils'; | ||
|
|
||
| describe( 'Validate multiple use', () => { |
There was a problem hiding this comment.
Hi @getdave, thanks for your review. I'm away from work for the next few weeks, so It would be nice if anyone were interested in taking this issue.
|
Shall we close this one in favour of #57576? |
What?
Fixes: #38502
Why?
Any block that doesn't support the
multiplefeature, doesn't display the Multiple blocks validation warning when it's inside group blocks.How?
Include
innerBlocksin the validation process.Testing Instructions
The "Read more" should display the validation warning.
Screenshots or screencast
Before:
before.mov
After:
after.mov