Requirement. Every header (core/heading) block needs to have a toggle control for adding or removing a custom class name to/from the resulting element. Usage example. Building an automatic table of contents generator, which will pick only the headers having the custom class name. The admin needs to easily select headers that should be used for… Continue reading Adding custom toggle control to Gutenberg Block Editor