Alert Block
In this example, we create a custom Alert
block which is used to emphasize text.
In addition, we create a Slash Menu item which inserts an Alert
block and add an Alert item to the block type dropdown in the Formatting Toolbar.
Finally, we add some theme-based styling to make our new block work nicely for both light and dark mode users.
Relevant Docs: