December 12, 2022
So far, we’ve built a WordPress block using plain JavaScript which supports custom styles via a stylesheet, which uses block attributes and the RichText component to allow the user to edit the block content, and uses a custom toolbar control to allow the user to align the RichText content. Next, we will look at adding additional support for managing the block styles, via the Block Supports API.