We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9221077 commit f9039e4Copy full SHA for f9039e4
build/media_source/plg_editors_tinymce/js/tinymce.es6.js
@@ -165,8 +165,10 @@ Joomla.JoomlaTinyMCE = {
165
if ('colorSchemeOs' in document.documentElement.dataset) {
166
const mql = window.matchMedia('(prefers-color-scheme: dark)');
167
options.skin = mql.matches ? skinDark : skinLight;
168
+ options.content_css = mql.matches ? 'dark' : 'default';
169
} else if (document.documentElement.dataset.colorScheme === 'dark') {
170
options.skin = skinDark;
171
+ options.content_css = 'dark';
172
}
173
174
// Ensure tinymce is initialised in readonly mode if the textarea has readonly applied
0 commit comments