NobGit
public nobgit read

NobMail

Based on mailcow: dockerized

Languages

Repository composition by tracked source files.

PHP
PHP 49% JavaScript 35% HTML 9% CSS 4% Shell 2% Python 1% Lua 0% Perl 0% Ruby 0% SCSS 0%
Create file Wiki Documentation
Clone
https://nobgit.com/orgs/nobgit/nobmail.git
ssh://[email protected]:2222/orgs/nobgit/nobmail.git

Commit

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

1d9f820b
andryyy <[email protected]> 8 years ago
data/conf/sogo/custom-sogo.js | 7 +++++++
 data/conf/sogo/sogo.conf      | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 data/conf/sogo/custom-sogo.js

Diff

diff --git a/data/conf/sogo/custom-sogo.js b/data/conf/sogo/custom-sogo.js
new file mode 100644
index 00000000..9ee6daba
--- /dev/null
+++ b/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;
diff --git a/data/conf/sogo/sogo.conf b/data/conf/sogo/sogo.conf
index b5979c82..de030ae9 100644
--- a/data/conf/sogo/sogo.conf
+++ b/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.