2

On TinyMCE using fontsizeselectin toolbaradd a dropdown menu with font-size setted in fontsize_formats: "8pt 9pt 10pt 12pt 14pt 18pt 24pt 36pt". This dropdown has a Fonts Size label. I am looking for a way to create a custom button in toolbar for this dropdown by using editor.addButtonbut I am not able to load the font size in it.

editor.addButton('sizes', {
  type: 'menubutton',
  icon: 'myOwnIcon',
  ... 
    load `fontsize_formats` here
  ...
   });

Any help would be appreciated

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.