Skip to content

Add support for setting text part language #8989

Closed
@Mgsy

Description

@Mgsy

📝 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.

Activity

added
type:featureThis issue reports a feature request (an idea for a new functionality or a missing option).
domain:rtlThis issue reports a problem with support for right-to-left languages.
on Feb 4, 2021
Mgsy

Mgsy commented on Feb 4, 2021

@Mgsy
MemberAuthor

Related: #2008

added this to the nice-to-have milestone on Feb 4, 2021
niegowski

niegowski commented on Feb 4, 2021

@niegowski
Contributor

We could simplify configuration by automatically detecting dir like we do it for uiLanguageDirection and contentLanguageDirection: https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-utils/src/locale.js#L183-L185

modified the milestones: nice-to-have, iteration 41 on Feb 11, 2021
neongreen

neongreen commented on Feb 13, 2021

@neongreen

@niegowski

We could simplify configuration by automatically detecting dir

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

niegowski commented on Feb 15, 2021

@niegowski
Contributor

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?

I just meant the language code to "dir" mapping.

hadifarnoud

hadifarnoud commented on Feb 20, 2021

@hadifarnoud

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

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

domain:rtlThis issue reports a problem with support for right-to-left languages.domain:v4-compatibilityThis issue reports a CKEditor 4 feature/option that's missing in CKEditor 5.type:featureThis issue reports a feature request (an idea for a new functionality or a missing option).

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Add support for setting text part language · Issue #8989 · ckeditor/ckeditor5