mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #39] [FR] RTL support #21
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @asafm on GitHub (Nov 19, 2021).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/39
Originally assigned to: @zoli on GitHub.
1~3 main use cases of the proposed feature
Notion doesn't have right to left languages support. This can be a great thing to have in the open source
what types of users can benefit from using your proposed feature
Population of world using right to left languages
Additional context
Add any other context or screenshots about the feature request here.
@notd5a-alt commented on GitHub (Nov 19, 2021):
I think this would be possible to implement once the developers implement their plugin system for the app.
@zoli commented on GitHub (Apr 7, 2023):
@annieappflowy If by plugin label you mean appflowy editors plugin, How this can be implemented via plugin? From what I see for supporting RTL in Appflowy document which is mostly related to appflowy editor core. Appflowy editor should enable setting
textDirectiononRichTextwhichFlowyRichTextbuilds it.@zoli commented on GitHub (Apr 7, 2023):
Just noting some thoughts here:
Probably
TextNodeshould support direction attribute which sets theRichTexttextDirectionproperty.There could be LTR, RTL, AUTO for
TextNodedirection attribute which could get determined by appflowy toolbar. AsRichTextdoesn't support AUTO internally appflowy editor should handle that part itself (maybe with strong directionality concept).@zoli commented on GitHub (Jun 10, 2023):
I would like to take on this.
cc: @annieappflowy
@annieappflowy commented on GitHub (Jun 11, 2023):
Thank you!!
@zoli commented on GitHub (Jul 12, 2023):
Now Appflowy Editor supports RTL. IMO the next step will be RTL support in Appflowy Board and Grid.
@annieappflowy commented on GitHub (Sep 26, 2023):
@asafm, please try out the latest release
Toggle on the RTL switch in Settings to write in the RTL layout
@zoli commented on GitHub (Sep 26, 2023):
@annieappflowy Still RTL support for board and grid is left.
@asafm commented on GitHub (Oct 16, 2023):
It's very weird implementation.
Usually if you are in Google Doc, or Word, you choose the LTR or RTL direction for the current paragraph. Many times it simply detects if the language is LTR and switches for you automatically - Facebook posts (when you create a new post) is a good example.
It doesn't make a lot of sense to have one direction set for the entire app.
@zoli commented on GitHub (Oct 16, 2023):
You can have auto direction detection when setting direction to AUTO. About the per-paragraph direction, I agree with you. This was available in Appflowy a while ago but now its limited to RTL layout direction, So If you set the layout direction to RTL you can set a paragraph direction to either LTR/RTL/AUTO.
I discussed with @LucasXu0 enabling per-paragraph direction in all layout directions we concluded to put a setting for enabling it in the toolbar menu for all layout directions.
The reason for not enabling it by default is because it might confuse some users.