Score:1

CKEditor 5 Right to Left Support

cn flag

The CKEditor 5 docs claim that version 5 comes with Right-to-left editing out the box. While I am sure this is true, I am struggling to get it to work as such in Drupal 10's version.

I have enabled Arabic on my English-by-default site and have enabled the Language toolbar option in for the text format. While editing the Arabic translation of the site (The UI is now RTL) and have my text in the Arabic language in the toolbar, it still writes LTR.

Is there an option I have overlooked to enable this support?

enter image description here

unusedspoon avatar
aq flag
When editing the page what language is Drupal's UI? It looks like english based on the english "Body" "Text format". I think ckeditor will use whatever the UI language is rather than what you pick in the language dropdown
Jimmyb_1991 avatar
cn flag
It's in Arabic (shown at the bottom of the screenshot). Both the URL and the default Drupal language dropdown are set to Arabic, and the screenshot is even after saving the node. The CKEditfor language is also set to Arabic for the written content. This is on a fresh install of D10 with only the English and Arabic languages installed.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.