mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #19743] feat: Notes section does not respect RTL text direction for Persian/Arabic languages #34509
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mhosseinarab on GitHub (Dec 4, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19743
Check Existing Issues
Verify Feature Scope
Problem Description
In the Notes section, text written in Right-to-Left (RTL) languages such as Persian is not displayed correctly. The text direction remains Left-to-Right (LTR), forcing the text to align to the left side of the screen. This makes paragraphs and multi-line text difficult to read and visually incorrect for native speakers.
Desired Solution you'd like
The Notes editor/viewer should detect RTL characters and displaying the text with Right-to-Left directionality and alignment.
Alternatives Considered
No response
Additional Context
@owui-terminator[bot] commented on GitHub (Dec 4, 2025):
🔍 Similar Issues Found
I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:
#13633 issue: Input text box direction not affected by RTL Interface setting
by merrime-n • May 07, 2025 •
bug#2134 feat: RTL support
by liorkesos • May 09, 2024 •
enhancement,good first issue#13627 feat: Change the UI font for Persian and Arabic languages
by merrime-n • May 07, 2025
💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@rgaricano commented on GitHub (Dec 4, 2025):
Tested the issue,
Reference to fix it:
add
dir={$settings?.chatDirection ?? 'auto'}in6f1486ffd0/src/lib/components/notes/NoteEditor.svelte (L880)export let direction = 'auto';in6f1486ffd0/src/lib/components/common/RichTextInput.svelte (L242)dir={direction}in6f1486ffd0/src/lib/components/common/RichTextInput.svelte (L1157-L1162)direction={$settings?.chatDirection ?? 'auto'}around6f1486ffd0/src/lib/components/notes/NoteEditor.svelte (L1161)@silentoplayz commented on GitHub (Dec 4, 2025):
I am able to confirm this issue on the latest
dev.