diff -u b/includes/ckeditor.lib.inc b/includes/ckeditor.lib.inc
--- b/includes/ckeditor.lib.inc
+++ b/includes/ckeditor.lib.inc
@@ -948,6 +948,8 @@
   }
 
   if (!empty($conf['js_conf'])) {
+    // CKEDITOR.dtd holds and object representation of the HTML DTD to be used by the editor in its internal operations.
+    // See more at https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_dtd.html
     $dtd = [];
 
     $js_conf = $conf['js_conf'];
@@ -984,6 +986,11 @@
           $value = FALSE;
         }
         elseif (preg_match('#["|\'][\s]*\+[\s]*["|\']#is', $value)) {
+          // Special case for JS concatenated strings.
+          // For example, one can have config.colorButton_colors defined as below, which would cause parsing problems.
+          //     config.colorButton_colors = 'B3B3B3,'+'000,800000,696969,'+'F00,FF8C00'
+          // This regex will replace it into single string:
+          //     config.colorButton_colors = 'B3B3B3,000,800000,696969,F00,FF8C00'
           $value = preg_replace('#["|\'][\s]*\+[\s]*["|\']#', '', $value);
         }
 
diff -u b/includes/ckeditor.utils.js b/includes/ckeditor.utils.js
--- b/includes/ckeditor.utils.js
+++ b/includes/ckeditor.utils.js
@@ -154,7 +154,7 @@
         } else {
           item = item.toString().replace(/‘/g, "'").replace(/(^['|"]|['|"]$)/g, '');
 
-          // Try to replace all CKEDITOR. constants with their values
+          // Try to replace all CKEDITOR. constants with their values.
           if (item.indexOf('CKEDITOR.') > -1) {
             var matches = item.match(/CKEDITOR\.([A-Z_]+)/g);
             for (var constIdx in matches) {
@@ -163,7 +163,7 @@
             }
           }
 
-          // Special case for keystrokes
+          // Special case for keystrokes.
           if (add_conf === 'keystrokes') {
             var keystrokes = [];
             var items = item.substr(1, item.length-2)
@@ -189,7 +189,7 @@
             }
           }
 
-          // Case for use or config.XXX.concat() method
+          // Case for use or config.XXX.concat() method.
           var regex = /^config\.(\w+)\.concat\((.*)(?=\))/g;
           if (item.match(regex)) {
             var matches = regex.exec(item);
