Browse Source

[SOGo] Include custom-sogo.js to dynamically add JS to SOGo, increase textarea font of CKeditor by default

andryyy 6 years ago
parent
commit
1d9f820b02
2 changed files with 8 additions and 1 deletions
  1. 7 0
      data/conf/sogo/custom-sogo.js
  2. 1 1
      data/conf/sogo/sogo.conf

+ 7 - 0
data/conf/sogo/custom-sogo.js

@@ -0,0 +1,7 @@
+// Custom SOGo JS
+
+// Change the visible font-size in the editor, this does not change the font of a html message by default
+CKEDITOR.addCss("body {font-size: 16px !important}");
+
+// Enable scayt by default
+//CKEDITOR.config.scayt_autoStartup = true;

+ 1 - 1
data/conf/sogo/sogo.conf

@@ -14,7 +14,7 @@
     SOGoEnableEMailAlarms = NO;
     SOGoFoldersSendEMailNotifications = YES;
     SOGoForwardEnabled = YES;
-    SOGoUIAdditionalJSFiles = (js/theme-blue.js);
+    SOGoUIAdditionalJSFiles = (js/theme-blue.js, js/custom-sogo.js);
 
     // Multi-domain setup
     // Domains are isolated, you can define visibility options here.