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

Improving Text Direction #2840

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Improving Text Direction #2840

merged 1 commit into from
Sep 15, 2023

Conversation

Algorithm5838
Copy link
Contributor

Previously, dir="auto" only applied to paragraphs and did not affect other elements in Markdown, such as headers, lists, and tables. However, it now applies to all elements collectively as well as to individual paragraphs, by using dir="auto" in both places.

While ideally, applying dir="auto" to each individual Markdown element would be the optimal solution, as a non-developer, this is the best approach I could come up with using less code.

Also, I would love if you could add it to the input filed (where the messages are written). I am not sure how.

@Algorithm5838 Algorithm5838 changed the title Update markdown.tsx Better Implementation for Text Direction Sep 15, 2023
@Algorithm5838 Algorithm5838 changed the title Better Implementation for Text Direction Improving Text Direction Sep 15, 2023
@Yidadaa Yidadaa merged commit 0707a1d into ChatGPTNextWeb:main Sep 15, 2023
@Algorithm5838 Algorithm5838 deleted the Algorithm5838-patch-1 branch September 15, 2023 10:57
alchemist139 pushed a commit to alchemist139/ChatGPT-Next-Web that referenced this pull request Sep 21, 2023
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants