TinyMCE 5: How can I modify formats?

212 Views Asked by At

How can I modify the entries under "Formats" menu in the TinyMCE config settings. I just want to remove the first 4 entries (Heading, Inline..., see picture below). I didn't find anything in the official documentation about that.

enter image description here

1

There are 1 best solutions below

2
On

If you simply want to remove the default/standard formats you need to set the style_formats_merge configuration option to false:

style_formats_merge: false

https://www.tiny.cloud/docs/configure/editor-appearance/#style_formats_merge

Here is a TinyMCE Fiddle showing this in action: https://fiddle.tiny.cloud/U0haab