-
Notifications
You must be signed in to change notification settings - Fork 385
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
Conduct a Discovery to determine support for Gutenberg blocks. #845
Comments
Example wp-cli Scripts Hi @DavidCramer, |
Permutations Of Blocks We should probably output all of the blocks in blocks/library/. Here are some blocks that I think could use permutations:
|
Results should be added to this Wiki page: https://github.com/Automattic/amp-wp/wiki/Native-WordPress-Widget-and-Embed-Support |
@westonruter should we create another wiki page to track exclusively Gutenberg blocks (both Gutenberg => AMP and AMP => Gutenberg)? |
Yeah, that would work as well. Maybe we should have separate wiki pages for embeds and widgets. Main thing is that there should be a wiki page to document it. |
Gutenberg Fixtures The test fixtures in Gutenberg could be useful for this. This script could use the But the core-embed__*.html files might not be as useful, as they don't have specific embed URLs. |
In Progress I'm working on this now. |
This matrix is now updated and moved to the Project WikiGutenberg Block Support Here are the results of running the The Gutenberg stylesheet So the I'll move this matrix into the project wiki when the script passes review.
Legend ✅ Supported |
Question on the And if not, what would be the expected behavior? |
Categories Alignment Hi @miina, |
Hey @kienstra Thanks for the answer. Perhaps that's how it's supposed to be without any additional styling? |
More block Looks like the |
Thanks, Matrix Moved To Wiki Hi @miina, Let's use the matrix on the wiki page now, instead of the one above. I'll keep updating the wiki, not this issue. |
Categories Alignment Hi @miina, This is probably from how the theme handles There doesn't look to be an issue with Gutenberg here, as it only applies the class This is the same case in the 'Latest Posts' block. I'm changing both in the wiki page to 'supported.' |
@kienstra Thanks for looking into these issues and for the quick update. |
Changed Several Blocks To Supported Hi @miina, Also, I changed the Image block to supported. It had a styling issue, with the The theme applies a different style. This isn't an issue specifically with Gutenberg, as it simply added the Likewise, I changed the Pullquote block on the wiki page to 'Supported.' The theme handles the styling, so there's no problem with Gutenberg. Also, the Gallery block display issue is from the theme styling. I changed it to 'Supported.' |
Results Of Using Validator On Block Test Page Hi @westonruter, Gutenberg Issues
Shortcode Issue
You already noted the issue of the theme's stylesheet not being output due to the Gutenberg stylesheet being too big. |
Sure, @miina. You probably saw it, but Weston's solution for the Categories widget would probably help with this. |
Yes, saw your note about it in the table, definitely helpful, thanks @kienstra! |
I think the discovery has been completed so this can be closed? |
Hi @westonruter, yes, this can be closed. |
Acceptance Criteria
AC1: Create a wp-cli script to output all native Gutenberg blocks on a test page to identify which will need to be supported (see this script for reference).
The text was updated successfully, but these errors were encountered: