Hi C2

> On May 17, 2022, at 16:27, C2 <users@sogo.nu> wrote:
> 
> It appears that browser based spellchecking is explicitly disabled in the new 
> email body form - 
> https://urldefense.com/v3/__https://i.imgur.com/L67BsPe.png__;!!GjvTz_vk!Ttu0pQ-SfRwgL2QcFKb_BdqB6wIGVLKJKY7CA6Iv7UeV3KlAPLxz5bo1GeCmuLd86nxfSAI7uwwAlXrT5g$
>  . Is there a reason for this? Is there a configuration option to disable 
> this setting?

This is the default behaviour of CKEditor, but you can change it by passing a 
modified configuration in UIxMailEditor.wox:

diff --git a/UI/Templates/MailerUI/UIxMailEditor.wox 
b/UI/Templates/MailerUI/UIxMailEditor.wox
index 002cb8267..178a485f7 100644
--- a/UI/Templates/MailerUI/UIxMailEditor.wox
+++ b/UI/Templates/MailerUI/UIxMailEditor.wox
@@ -306,8 +306,8 @@
                     sg-autogrow="true"
                     md-detect-hidden="md-detect-hidden"><!-- plain text editor 
--></textarea>
           <sg-ckeditor id="message-content"
-                       ng-if="::(editor.composeType == 'html')"
-                       config="editor.ckConfig"
+                       ng-if="editor.composeType == 'html'"
+                       config="{ disableNativeSpellChecker: false, language: 
editor.ckConfig.language }"
                        on-instance-ready="editor.onHTMLReady($editor)"
                        on-focus="editor.onHTMLFocus($editor)"
                        ng-model="editor.message.editable.text"><!-- HTML 
editor --></sg-ckeditor>



See:

• 
https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-disableNativeSpellCheckerhttps://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-browserContextMenuOnCtrlhttps://www.sogo.nu/support/faq/how-to-customize-the-html.html


Francis
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to