-
Notifications
You must be signed in to change notification settings - Fork 59
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
add text direction buttons #7
Comments
Hi! Seems like there is no special buttons for RTL and LRT in CKEditor 5. It should work automatically. |
what you're referring to is UI direction. looks like CKeditor5 does not have directional buttons as CK4. it's either the entire text RTL or LTR. That is a significant issue as you may want to enter English or any other LTR text right in the middle of your article. I did not find any way of doing this in current CK5 |
It works automatically only when you select an RTL language (i.e Hebrew or Arabic) for the UI. so the change must come from the custom build which have to include the language feature. |
What's the update here? really need that feature |
Apparently there is a PR merged here ckeditor/ckeditor5#9074 said that.
Here is the documentation: https://ckeditor.com/docs/ckeditor5/latest/features/language.html |
Any Update on This?? As you can see Here in the output of CKeditor5 the first text on highlighted (selected from language dropbox) as English when editing in Ckeeditor5
This one is highlighted in Arabic from the language dropbox.
it adds a span tag inside whatever tag you heading or tag you selected and inside that span tag, it adds dir and lang to ar also which renders it useless and the dir effect will not take place. the dir and lang attributes should be on the outer layer which is in this example the P tag and not a span inside the main tag PLUS, ALSO: The CKEditor does not have a text direction option in the toolbar items options and I don't know why?? since you guys have the RTL Feature developed (coded) already when I hard code the Language of content to ar (Arabic) in the config/plugins.js file in strapi?. "@_sh/strapi-plugin-ckeditor": "^1.1.2",
|
please add RTL and LTR buttons too, thanks
The text was updated successfully, but these errors were encountered: