Skip to content

Latest commit

 

History

History
32 lines (27 loc) · 1.39 KB

12-block-transforms.md

File metadata and controls

32 lines (27 loc) · 1.39 KB

Block Transforms

Block Transforms is the API that allows a block to be transformed from and to other blocks. All blocks can define what blocks they can transform into via the block controls. The benefit to this is the content and some attributes can be mapped to the content and attributes of the new block type.

For example, we can transform or change a paragraph block into a heading block and keep the content and some other options in the process.

block transform demo

Further Reading

Contents