From aa9d6ea2b9b2dd8a136644b1b8fe81ad03f1168c Mon Sep 17 00:00:00 2001 From: dgrammatiko Date: Tue, 23 Nov 2021 00:41:08 +0100 Subject: [PATCH] Give the dog a bone --- .../plg_editors_tinymce/js/plugins/highlighter/source.es5.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/media_source/plg_editors_tinymce/js/plugins/highlighter/source.es5.js b/build/media_source/plg_editors_tinymce/js/plugins/highlighter/source.es5.js index b0139dc493eb3..a7522d3038c3c 100644 --- a/build/media_source/plg_editors_tinymce/js/plugins/highlighter/source.es5.js +++ b/build/media_source/plg_editors_tinymce/js/plugins/highlighter/source.es5.js @@ -272,7 +272,7 @@ document.addEventListener('keydown', (evt) => { // Without this, the background color outside of the codemirror wrapper element remains white. // [TMP] commented temporary, cause JS error: Uncaught TypeError: Cannot read property 'replace' of undefined if(CMsettings.config.theme) { - document.documentElement.className += CMsettings.config.theme.replace(/(^|\s)\s*/g, " cm-s-"); + document.documentElement.className += CMsettings.config.theme.replace(/(^|\s)\s*/g, ' cm-s-'); } window.onload = start;