Hi,
I’ve just found out that from version 5.5.1, the core WordPress has specific line of CSS codes that override my custom fonts in editor-style.css. It only happens when I set the backend language to Vietnamese.
My custom editor-style.css will set font like this (It’s my code from the beginning and it worked in all previous WordPress versions):
body {
font-family: 'Montserrat', sans-serif;
}
In this file /wp-includes/js/tinymce/skins/wordpress/wp-content.css, line 29:
body.locale-he-il,
body.locale-vi {
font-family: Arial, "Times New Roman", "Bitstream Charter", Times, serif;
}
I need to override these code to make my custom editor-style.css working now. Is there any reason that we need these line of codes in core WordPress style of TinyMCE? Just because I think it’s weird somehow when I need to add extra code to override fonts in my custom editor-style.css for Vietnamese only.