Comments (10)
I think this would be possible to implement once the developers implement their plugin system for the app.
from appflowy.
Now Appflowy Editor supports RTL. IMO the next step will be RTL support in Appflowy Board and Grid.
from appflowy.
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.
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.
from appflowy.
@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 textDirection
on RichText
which FlowyRichText
builds it.
from appflowy.
Just noting some thoughts here:
Probably TextNode
should support direction attribute which sets the RichText
textDirection
property.
There could be LTR, RTL, AUTO for TextNode
direction attribute which could get determined by appflowy toolbar. As RichText
doesn't support AUTO internally appflowy editor should handle that part itself (maybe with strong directionality concept).
from appflowy.
I would like to take on this.
cc: @annieappflowy
from appflowy.
Thank you!!
from appflowy.
@asafm, please try out the latest release
Toggle on the RTL switch in Settings to write in the RTL layout
from appflowy.
@annieappflowy Still RTL support for board and grid is left.
from appflowy.
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.
from appflowy.
Related Issues (20)
- [FR] [Mobile] recurring reminders, link to block, protect a page
- [FR] embed YouTube video
- [FR] [Mobile] slash menu trigger
- [Bug] [Mobile] sync
- [FR] Figma theme template
- [Bug] sync deleted pages
- [Bug] Chinese input after InlineMathEquation HOT 1
- [Bug][Mobile] the sync indicator in yellow although the data has been synced HOT 1
- [Bug] [Mobile] By long pressing the space bar, the cursor can be moved on the iPhone.
- [Bug] Exporting link previews should export to []() format
- [Bug][Security] Markdown does not have any URI scheme restrictions
- [FR] Add language select with keyboard support to the Code Block
- [Bug] [create at] cells no more auto setting date in 0.5.5
- [Bug] share grids by CSV can not collect auto dating cell data
- [Bug] Export to html, no code blocks
- [FR] Apple Privacy API
- [Bug] Numbered list item numbers don't increment when exporting as HTML.
- [Bug] Unable to login - windows 11 HOT 3
- [Bug] Add current time to date automatically
- [Bug] Korean character input bug.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from appflowy.