Add RTL toggle button for preview pane#67
Conversation
Adds an RTL button (text-only, no icon) to both the desktop toolbar and mobile menu that toggles right-to-left direction on the markdown preview. State is persisted to localStorage and restored on page load. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
@EssamSoft is attempting to deploy a commit to the ThisIs-Developer Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Thank you for the idea and implementation, but there is a question about why we need the RTL button. Already in #61 , it mentions that the space needs to be clear for more working space. I don't think it's a good idea to add it right now, but I have a plan to implement it. I want to make a panel with all tools like H1, H2, H3, inline, bold, table, code, quote, etc., and there I will add this RTL button. Is that ok? |
Thanks for your response. I think adding a toolbar might make the UX a bit more complicated. The simplified RTL button is very useful for me as an Arabic speaker. Some documents contain both Arabic and English, which causes reading issues due to the conflicting text directions between the two languages. For my use case, the ideal solution is the ‘magic’ RTL button to switch direction on demand while reading.
|
|
Thank you for the update! 🙏 One small UX note: placing the RTL button at the top of the preview pane would feel more natural — when users are in reading mode, they're not interacting with the editor toolbar, so a dedicated button near the preview area would be more accessible. |


Adds an RTL button (text-only, no icon) to both the desktop toolbar and mobile menu that toggles right-to-left direction on the markdown preview. State is persisted to localStorage and restored on page load.