• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: TinyMCE 6 – font size option not showing

Resolved: TinyMCE 6 – font size option not showing

0
By Isaac Tonny on 16/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I’m using TinyMCE 6.0.3 and the fontsizeselect option doesn’t show. Here is my initialization:
    tinymce.init({
        selector: '#txtServiceDscr',
        menubar: false,        
        toolbar: 'fontsizeselect | forecolor'
    });
The forecolor option is visible, but fontsizeselect isn’t:
enter image description here
… there are no errors in the console. Any ideas why this might be happening?

Answer:

The fontsizeselect toolbar button was renamed in TinyMCE 6 to make it more consistent. It’s now just called fontsize, so if you change your configuration to that then it should work.
There were a number of other renamed or changed things in TinyMCE 6 as well, so I’d suggest checking out the migration guide: https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#things-we-renamed

If you have better answer, please add a comment about this, thank you!

tinymce tinymce-6
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: Table data is coming as empty in React

02/04/2023

Resolved: In a Pinescript v5 Strategy why is my bool not working?

02/04/2023

Resolved: net::ERR_HTTP2_PROTOCOL_ERROR by http get request angular 15.2

02/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.