-
Notifications
You must be signed in to change notification settings - Fork 218
Add a from
transform to each block to support legacy shortcodes
#8
Comments
Relates to #86 |
Looks like we can use Shortcodes are very customizable though, so we'll still have to fall back to the core shortcode block for options the blocks don't support |
from
transform to each block to support legacy shortcodes
Currently we can only map a given shortcode to one block, there's no way to check the attributes of a shortcode before running the transform. This issue is on hold until there's core support for |
This issue has been open for a while. While the idea is sound, there doesn’t seem to be need for the transforms at the moment. We can revisit and reopen specific issues for blocks that we want to add transforms to as the need/desire surfaces. |
If a page has the products shortcode already on it (from posts created using the classic editor) convert the shortcode into a pre-populated Products block. More investigating will need to be done to see if this is possible, but I believe Gutenberg 2.1 has some shortcode handling features so it should be possible.
Possible use case for transformations API: WordPress/gutenberg#4578
The text was updated successfully, but these errors were encountered: