Skip to content
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

text direction button #838

Closed
Saeeed-B opened this issue Aug 1, 2021 · 9 comments
Closed

text direction button #838

Saeeed-B opened this issue Aug 1, 2021 · 9 comments

Comments

@Saeeed-B
Copy link

Saeeed-B commented Aug 1, 2021

@JiHong88 hi
Please add the ability to adjust the direction of the text. It is very, very necessary.
It's very simple, it should have exactly the same function as direction in css, for more information, refer to the link below.

https://www.w3schools.com/cssref/pr_text_direction.asp.

In addition, this feature must be adjustable by the user, like other buttons, it must have a button to adjust.

This is exactly the capability in Microsoft Office :
https://getproofed.com/writing-tips/changing-direction-text/

@JiHong88
Copy link
Owner

JiHong88 commented Aug 5, 2021

@Saeeed-B You can use the "rtl" option.
{ rtl: true }

@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 5, 2021

@JiHong88
I asked this question once again.
But I think you are wrong.
The rtl option only rtl the Toolbar. I want there to be a button that rtl the text and the output is rtl.
However, the rtl option does not rtl the text. And the output of the editor is not rtl.

@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 5, 2021

@JiHong88
On the other hand, the direction feature must be changeable by the user who uses the editor.
Because the user may want to write in several languages such as English and Arabic, so he should be able to change the direction at any time.

@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 5, 2021

@JiHong88
This is very simple, just as changing the font size has a button and is customizable, the direction must also have a button and be customizable

@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 5, 2021

@JiHong88
I have repeatedly checked the output of the editor. If the rtl option is enabled, the output does not have the rtl direction style.

@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 6, 2021

@JiHong88 ?

@JiHong88
Copy link
Owner

JiHong88 commented Aug 7, 2021

When using "rtl" mode, text is "rtl" direction.
스크린샷 2021-08-07 오후 5 10 09

I'll add the text "direction" button.

@JiHong88 JiHong88 added this to the 2.42.0 milestone Aug 7, 2021
@Saeeed-B
Copy link
Author

Saeeed-B commented Aug 7, 2021

@JiHong88
We look forward to this feature.
Because the user must also be able to change the direction .
Thankful

JiHong88 added a commit that referenced this issue Nov 30, 2021
add: button group - option(#fix)
@JiHong88
Copy link
Owner

The 2.42.0 version has been updated.
If this issue has not been resolved, please reopen this issue.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants