From 1d9f820b028153ebe664dfc3c913e52646833382 Mon Sep 17 00:00:00 2001 From: andryyy Date: Mon, 12 Nov 2018 09:59:49 +0100 Subject: [PATCH] [SOGo] Include custom-sogo.js to dynamically add JS to SOGo, increase textarea font of CKeditor by default --- 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 --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.