before Gutenberg, I added custom style format using ‘tiny_mce_before_init’ and the ‘style_formats’ variable. With gutenberg, this is not used anymore. How can I replace it? I found a guideline to add a button in the richtext toolbar but if I need to add a button for each style format, my list will be quite big.
That was indeed the documentation I used but this would add a single button to the paragraph block. I have several formatting option and would like to add it in a select. Do you know if this is possible?