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

Support RTL text in timeline #717

Closed
anyone00 opened this issue Aug 5, 2022 · 3 comments · Fixed by #720
Closed

Support RTL text in timeline #717

anyone00 opened this issue Aug 5, 2022 · 3 comments · Fixed by #720

Comments

@anyone00
Copy link
Contributor

anyone00 commented Aug 5, 2022

Describe the bug

The direction of RTL text in timelines is not set correctly.

Currently when viewing an RTL chat:
viewing an RTL chat in cinny

Reproduction

  1. join #test-rtl:matrix.org
  2. view the room timeline
  3. text is left-to-right instead of right-to-left

Expected behavior

the text direction should be right-to-left

Platform and versions

1. OS: [Windows 10, Linux]
2. Browser: [chrome 105, firefox 103]
3. Cinny version: [v2.0.4 (dev.cinny.in)]
4. Matrix homeserver: [e.g. matrix.org]

Additional context

No response

@anyone00
Copy link
Contributor Author

anyone00 commented Aug 5, 2022

might be related to #139

@anyone00
Copy link
Contributor Author

anyone00 commented Aug 6, 2022

Thanks!

@anyone00
Copy link
Contributor Author

anyone00 commented Aug 9, 2022

if you write a RTL message and include a code snippet in it. The code snippet also gets RTL direction styling.

When a code snippet is sent with LTR language:
code snippet is sent with LTR language

When a code snippet is sent with RTL language:
code snippet is sent with RTL language

NovaAndrom3da pushed a commit to NovaAndrom3da/neocinny that referenced this issue Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants