I'm using TinyMCE as WYSIWYG text editor and I'd like users to choose the font size among certain values (small, medium, large, …) and not size with unit (12px, 14px, …) so far I use the following code
tinymce.init({
// …
toolbar: [
'… | fontsizeselect',
],
content_style: "body { font-size: medium }",
fontsize_formats: 'small medium large',
});
It works fine except that before one select the font size for the first time the menu bar shows 16px.
Is there a way that at this point we see 'medium' and not 16px?
Once one has picked a size, the 16px is not proposed in the dropdown anymore... unless the content is deleted then font size select shows 16px again.
Thank in advance for your help.
