-
-
Notifications
You must be signed in to change notification settings - Fork 316
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
Any plans for RTL (right to left) support? #450
Comments
Hi @BrianJVarley |
Hey JiHong88. Looking at the RTL support on different editors, the When I've tested in this editor an other that support RTL fully. You can see that certain toolbar icons are re-ordered and flipped backwards on language change to arabic: (see bold, italic, strikethrough format buttons and toolbar labels) @JiHong88 will the upcoming implementation of RTL include flipping and re-organising toolbar icons? In addition to flipping the editor content that I mentioned originally. I think the Material Docs give a good explanation of the different factors for icons. |
@BrianJVarley I will upload it to the test server. |
@JiHong88 sure, How can I check this change on the test server? Is there a link to access it? |
@BrianJVarley I'll notify you at the this week after update. |
Hi, @BrianJVarley Please tell me know if there are any further modifications to be made. |
Hi @JiHong88 I tested the RTL feature above. The editor contents alignment and text typing direction look great for RTL. Here is some feedback on RTL feature that I think will improve it. I think if you can make the below changes it will make RTL feature it will be more complete:
|
@BrianJVarley I updated to the test page. |
@JiHong88 The above changes look correct apart from some changes to icon order (should be reverse order for RTL). A good test to verify RTL is implemented correctly is to open Google Docs and change keyboard language to Arabic to check what toolbar options change. I do notice some minor bugs on label and toolbar buttons as follows. I think the following changes would improve RTL feature further:
|
Hi @JiHong88 , Since some time I keep an eye on your wonderful wysiwyg library, it's really great!
Several useful suggestions:
Don't hesitate to reach out in case of questions! Thanks, |
modify: options.rtl > direction, fix: list style
@BrianJVarley @impulsgraw The creation of all controllers and tables has also been modified with RTL. At the bottom of the test page is a list of buttons used when creating the editor. And.. I'm confused if the Math plugin should also be RTL. |
@BrianJVarley @impulsgraw |
@JiHong88 great! I'll take a run through your linked test page this week to verify. @impulsgraw what's your thoughts on this latest RTL release? I do see three things that could be addressed on RTL feature:
RTL User Function: Is this something you have considered as an enhancement? |
Hi @JiHong88 , the editor is impressive and covers nearly all of our requirements. But I don't see a config option for RTL (right to left) text direction in the editor.
Is this something on the roadmap or already existing option? (I didn't see this in the docs). The rtl configuration is defined as..
Example Toolbar button on other editor:
Configuration Example:
The text was updated successfully, but these errors were encountered: