Matt Watsonwholesomecode.hashnode.dev·Sep 27, 2021Use a Modal Popup to Add Additional Attributes with registerBlockFormatWe have had a look at Applying Formats to your Post Content with registerFormatType. But what if we want to add additional colours to our highlighter pen? In this guide we are going to expand what we worked on previously and add a modal popup that wi...Discuss·1.1K readsWordPress
Matt Watsonwholesomecode.hashnode.dev·Sep 27, 2021Format your Post Content with registerFormatTypeYou can add custom buttons to the toolbar in WordPress Gutenberg quite easily, but did you know you can also add format type controls to the format menu? In this guide we are going to look at how to add a format control using registerFormatType that ...Discuss·1 like·1.4K readsWordPress