I can't update an element in Tiny MCE with a custom class via the styles_format dropdown

  • Page Owner: Not Set
  • Last Reviewed: 2019-08-08

I ran into an issue where I could not apply alignment classes on figure elements.


Additional Posts

Some Elements are not editable in TinyMCE. I opened an issue with TinyMCE and was advised that there is an attribute that you can add to override this called ceFalseOverride.

So in your CustomTinyMCE Initialization it would look something like this:

{ title: 'Align Left', selector: 'figure', collapsed: false, classes: 'align-left', ceFalseOverride: true }

I don't know if there is any list of which elements are not editable. But at least it's something to try if you run into this issue.