theBell
theBell

Reputation: 423

TinyMCE 5: How can I modify formats?

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

Upvotes: 0

Views: 322

Answers (1)

Michael Fromin
Michael Fromin

Reputation: 13726

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

Upvotes: 1

Related Questions