Use wp.blocks.createBlock in transforms handlers #688
Labels
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Type] Task
Issues or PRs that have been broken down into an individual action to take
wp.blocks.createBlock
was introduced in #407 as a helper to avoid needing to manually create block instances. We should use this consistently; notably, we're manually creating block objects in transforms.Example: https://github.com/WordPress/gutenberg/blob/af4a499/blocks/library/quote/index.js#L36-L41
The text was updated successfully, but these errors were encountered: