The example blocks so far are still not very interesting because they lack options to customize the appearance of the message. In this section, we will implement a RichText field allowing the user to specify their own message. Before doing so, it’s important to understand how the state of a block (its “attributes”) is maintained and changed over time.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed