I am testing 2.22.0 on our dev site, and noticed that the font size in some backend editors is smaller than normal. Is this intentional or a bug?
After further investigation, it looks like our /_ingredients/backend/wysiwyg.less is not loading with the following browser console error:
The resource from “https://angelo-dev.livewhale.net/_ingredients/backend/wysiwyg.less” was blocked due to MIME type (“”) mismatch (X-Content-Type-Options: nosniff).
The first line in wysiwyg.less is…
@import "../../livewhale/plugins/tinymce/content.less";
So content.less is not loading either (which is where the font size is set).
I tried using compiled CSS versions of those files, and that worked, but I would prefer to keep using the LESS versions.
Is this a known issue and is there a fix?
After working with LiveWhale support, the fix is to change global.config.php to use:
$_LW->REGISTERED_WYSIWYG_CSS=['/live/resource/css/_ingredients/backend/wysiwyg.css'];
This will force it to compile the LESS file instead of trying to use it directly.
Hope this helps anyone else who may experience the same issue.
Thanks Jon – we’ve also [updated our docs[(https://support.livewhale.com/live/blurbs/customizing-the-back-end) to reflect that for the time being. It is super strange that the .less version got auto-compiled before but not in 2.22, and while we haven’t yet been able to figure out what change might’ve caused that, we’re glad the workaround is straightforward in the meantime.

