-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added feature docs for text fragment language. #9301
Conversation
// Optionally, you can also provide text direction information ('ltr' or 'rtl'), | ||
// however, note that the feature will resolve text direction by itself, so in most | ||
// cases this option is redundant. | ||
editor.execute( 'textPartLanguage', { | ||
languageCode: 'ar', | ||
textDirection: 'rtl' // Optional text direction. | ||
} ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure if it makes sense to mention the optional textDirection
option.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd say let's drop it, if not for the "most cases". If it has some specific use, we may want to mention the specific use in docs.
Suggested merge commit message (convention)
Docs (language): Added feature documentation for text fragment language. Closes #9211.
Additional information
For now, I've just added separate docs for
Language
entry, however, it may not be the best fit, see #9211 (comment)Some links are failing during the build:
I'm not really sure why it happens as the same links in API docs are working correctly - would be glad for some help with that.