Always RTL or LTR
See original GitHub issueDescription
First tnx for your great editor. The writing text direction in “Preferences>Editor>” sets direction for all text in the current document. For example Arabic language has RTL direction and English language has LTR direction. I can not use both Arabic and English language in my current document.
- [x ] Can you reproduce the issue?
Steps to reproduce
- [Create a new document]
- [Write some text in English]
- [In the next paragraph, write some Arabic text, Use “Crtl+Right Shift” to set line direction]
- [Press Enter]
Expected behavior:
The Arabic text must preserve it’s direction.
Actual behavior:
The Arabic text direction will set to text direction in “Preferences>Editor>The writing text direction” Link to an example: [optional]
Versions
- Mark Text: v0.15.1
- Operating system: Windows 10 64bit
Issue Analytics
- State:
- Created 4 years ago
- Reactions:7
- Comments:5 (1 by maintainers)
Top Results From Across the Web
RTL rendering of LTR scripts - W3C
This article suggests ways to produce runs of right-to-left text using HTML & CSS for languages that are normally written left-to-right.
Read more >html - How to force a piece of text to be 'direction ltr' inside a ...
RTL algorithms normally take numbers into account, so you don't need to do anything for numbers to be rendered correctly, regardless of LTR...
Read more >Right-to-left Styling - RTL Styling 101
Notice for the RTL section, the text reads from right to left, which is the opposite of the LTR text. Luckily, the browser...
Read more >LTR (Left To Right) - MDN Web Docs Glossary
LTR (Left To Right) is a locale property indicating that text is written from left to right. For example, the en-US locale (for...
Read more >LTR & RTL - WordPress.org
NOT AT ALL. First of all thank you for answering. If there is something i can do to disable the RTL i will...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
In addition to this having the ability to change the writing direction of the text through menu and keyboard shortcuts will be convenient. especially for someone who writes in both languages frequently. It’s a hassle to open the settings to change text direction every time.
Currently during writing when I press crtl+ left-shift it aligns to left and vice versa. But It’s not permanent and goes to default direction after pressing enter.