-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Changing the text directionality of TinyMCE impacts the whole interface #9672
Comments
Huh. |
Tested and confirmed using WordPress 4.9.8 and Gutenberg 4.2.0-rc.1 that adding the following snippet (I cheated and added it to the bottom of an existing) plugin results in the whole interface getting affected after the classic block is added.
Aside: I also spotted lots of 500 errors for API calls to autosave after making this change and adding a classic block:
|
With the last version of WordPress and Gutenberg 5.8, the problem is still happening. The interface does not becomes in RTL right away but as soon as a classic block is added everything becomes RTL. |
Hi @Chouby and @designsimply |
On a multilingual site, it's possible that a writer has his interface in one language and writes posts in another language, possibly with a different text direction. For example, I can have the interface in English and need to write posts in Arabic. In that case I will want to change the text direction only in the editor.
With Gutenberg, changing the text directionality of Tiny MCE also impacts the text direction of the interface when I would expect it to change the text direction only in Tiny MCE.
Steps to reproduce the behavior:
Here is a screenshot with Gutenberg. The rtl text direction is unexpectedly applied everywhere:
Here is the screenshot with the classic editor. The rtl text direction is applied only to Tiny MCE as expected:
Related: #138
The text was updated successfully, but these errors were encountered: