Closed
Description
📝 Provide a description of the new feature
Add support for setting text part language, similar to CKEditor 4 language feature.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
Add support for setting text part language, similar to CKEditor 4 language feature.
If you'd like to see this feature implemented, add a 👍 reaction to this post.
Activity
Mgsy commentedon Feb 4, 2021
Related: #2008
Reinmar commentedon Feb 4, 2021
Inspiration: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_config.html#cfg-language_list
niegowski commentedon Feb 4, 2021
We could simplify configuration by automatically detecting
dir
like we do it foruiLanguageDirection
andcontentLanguageDirection
: https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/locale.js#L183-L185neongreen commentedon Feb 13, 2021
@niegowski
Do you mean that if the user types some text in Hebrew or Arabic, it will automatically be laid out right-to-left even if the rest of the editor content is left-to-right?
Or that the whole editor content will be either right-to-left or left-to-right based whether the majority of the text is in one of the RTL langs or not?
niegowski commentedon Feb 15, 2021
I just meant the language code to "dir" mapping.
hadifarnoud commentedon Feb 20, 2021
I should be able to change a paragraph's direction as needed. it can detect paragraphs direction based on first percentage of text in LTR or RTL language.
or simply, a LTR/RTL button that allow me to change text direction as needed.
12 remaining items