Hello Christian,
Thank you for your reply.
After made some test you need to enabled it like "emoji" plugin I mean the
"bidi". I have edit the "sgCkeditor.component.js" file and enabled "bidi"
after the plugin "align".
function sgCkeditorConfigProvider() {
// Default plugins that have successfully passed through Angular's
$sanitize service
var defaultConfiguration = {
toolbarGroups: [
{ name: 'basicstyles', groups: [ 'basicstyles', 'colors', 'list',
'indent', 'blocks', 'align',
'bidi', 'links', 'insert', 'spellchecker', 'styles', 'mode', 'emoji' ] }
],
Please find the attached files before enabled "bidi" and after enabled "bidi"
After that everything is ok.
Best Regards,
Saleh
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of
Christian Mack
Sent: Monday, October 17, 2022 2:55 PM
To: [email protected]
Subject: Re: [SOGo] Important CKEditor plugins (BiDi and Emoji)
Hello
From the ckeditor documentation:
"
CKEDITOR.dialog.definition.textarea
[...]
Properties
[...]
bidi : Boolean
Whether the text direction of this input should be togglable using the
following keystrokes:
Shift+Alt+End – switch to Right-To-Left,
Shift+Alt+Home – switch to Left-To-Right.
By default the input will be loaded without any text direction set,
which means that the direction will be inherited from the editor's text
direction.
If the direction was set, a marker will be prepended to every non-empty
value of this input:
\u202A – for Right-To-Left,
\u202B – for Left-To-Right.
This marker allows for restoring the same text direction upon the next
dialog opening.
[...]
"
Did you try using those keystrokes?
Kind regards,
Christian Mack
Am 13.10.22 um 16:23 schrieb "Saleh Madi" ([email protected]):
> Hello SOGo team,
>
>
>
> I see that you have add CKEditor plugins emoji and bidi on the new version
> of SOGo. After check, emoji is active on the CKEditor when we send email but
> bidi is not enabled how to enable bidi on the CKEditor.
>
>
>
> Thank you.
>
>
>
> From: Test Account [mailto:[email protected]]
> Sent: Saturday, July 2, 2022 11:35 PM
> To: [email protected]
> Subject: Important CKEditor plugins (BiDi and Emoji)
>
>
>
> Hello SOGo Developers,
>
>
>
> I suggest to install the below CKEditor plugins as default plugins in SOGo.
> The first plugin help all users to make the right text direction in all
> languages that work from right to left like Arabic, Hebrew and Farsi.
>
>
>
> BiDi (Text Direction):
>
> https://ckeditor.com/cke4/addon/bidi
>
>
>
> The second plugin support easy inserting of emoji characters by opening the
> emoji dropdown with a toolbar button.
>
>
>
> Emoji:
>
> https://ckeditor.com/cke4/addon/emoji
>
>
>
> Thank you and Best Regards,
>
> Saleh
>
>
--
Christian Mack
Universität Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung IT-Dienste Forschung, Lehre, Infrastruktur
78457 Konstanz
+49 7531 88-4416