I use TinyMCE Advance plugin. I've posted a question in the support forum of the the plugin but it seems that the author doesn't provide any support now. As you can see in the picture, the font size 12pt is the default font size. Every time I open the TinyMCE Advance editor, the size 12pt displays in the default state. How can I change the default size to 14pt and remove the size 8pt, 10pt,12pt?
I've done some research and it's was recommended that I go to:
wp-includes/js/tinymce/skin/wordpress/wp-content.css
and change the size in
body {
font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
font-size: 18px;
line-height: 1.5;
color: #333;
margin: 9px 10px;
max-width: 100%;
-webkit-font-smoothing: antialiased !important;
overflow-wrap: break-word;
word-wrap: break-word; /* Old syntax */
}
In this case, I've changed it to 18pt, but it doesn't work. The thing is that the default 12pt size is still there. It just changes only when I click inside the text editor area; it will change from the 12pt (that displays as default) to 14pt. But actually when I type a text and publish, the result is the published text still displays 12pt size, not 14pt. So that means I have to select a font size 14pt in the drop-down list anyway in order to get the size 14pt.
wordpress\wp-includes\js\tinymce\tinymce.min.js
. Therefore the best approach I can think of if to create a js file to change those values and hook it after the admin loads.