theme-test-data icon indicating copy to clipboard operation
theme-test-data copied to clipboard

Time to update theme test data?

Open SamuelMiller opened this issue 3 years ago • 8 comments

Please consider updating the theme-test-data to completely display every WordPress 5.9 Gutenberg block.

SamuelMiller avatar Apr 21 '22 19:04 SamuelMiller

I would be happy to merge in changes that include demo content for all the blocks in 5.9 if someone could make the PR :)

pattonwebz avatar Apr 21 '22 19:04 pattonwebz

Can you make a list at least, of what is missing?

joyously avatar Apr 21 '22 19:04 joyously

In my opinion we should work towards a solution where the content is generated and always up to date, not updated manually in an xml file. The reason why it has not been updated yet is not because we don't want or need the updated blocks, but because its way too much work involved to do it manually.

carolinan avatar Apr 22 '22 04:04 carolinan

See https://github.com/WordPress/gutenberg/issues/39266

carolinan avatar Apr 22 '22 04:04 carolinan

Perhaps a plugin with a custom block that has all the other blocks as inner blocks, per category?

carolinan avatar Apr 22 '22 04:04 carolinan

And yes @joyously the classic content would be kept as an XML file to import.

carolinan avatar Apr 22 '22 04:04 carolinan

I'm curious how the recent updates with WP 6.1 blocks impact this issue. See also WordPress/gutenberg#41119

The Block Unit Test plugin previously did this but was closed due to the struggles of keeping it up-to-date.

mrwweb avatar May 09 '23 21:05 mrwweb

I would still prefer if it could be generated and updated automatically, but since there was no solution, I added the markup changes manually.

carolinan avatar May 10 '23 04:05 carolinan