0

We use TinyMCE to create HTML text blocks that are included into various other contexts. Typically the styling is defined by the destination, not by the text block itself, but we still have limited font and size selection in the toolbar to allow the destination styling to be overridden if required.

In TinyMCE 4 these style toolbar items were 'unset' in the case where the styling hadn't been overridden, showing general text such as "Font".

We are now upgrading to TinyMCE 6 and the current font is always shown in the toolbar, even when no explicit styling is present in the HTML. This not only hides the case where no explicit styling is set, but it is often incorrect when no styling has been applied, as in some cases we style the size using percentages (the only valid options are 10%, 20% etc.) but TinyMCE shows the current font settings (e.g. 11px) regardless of whether they are valid or not.

Is there any way to restore the original behaviour? The current behaviour doesn't make a lot of sense for our use case.

I can't see any option that would seem to affect this behaviour.

Paul C
  • 1

0 Answers0