-
Notifications
You must be signed in to change notification settings - Fork 94
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
RTL support #882
Comments
Or better add |
Ideally that would be something solved upstream in ueberdosis/tiptap#116 but I guess we can also add custom nodes for that as suggested there. |
Yup, this better be implemented in the core project. |
My temporary workaround for this is to install "JSLoader" app, then go to Settings => "JavaScript loader" (Under "Administration" section) then add/paste this code:
Then click "Save". Not ideal, not efficient, ... but at least it works. |
Interesting pull request on tiptap ueberdosis/tiptap#2963 |
I wrote a extention that automatically adds |
But how to use this with NextCloud ? It a must for all text editors in email, notes, wikis etc. |
Notes, Collectives and Deck use the text editor so they would directly benefit from implementing it here. Other apps would need to be handled separately. See also nextcloud/server#31420 for general RTL support in Nextcloud. |
Good reference on how to adapt the UI bits is nextcloud/forms#1654 |
First version https://github.com/nextcloud/text/pull/6874/files supports:
As follow-up content inside of tables should be supported too. @hamza221 could you please look in it / check if a first PR (result) make sense in your eyes? Thank you! |
Solution: Please add
dir="auto"
(In the element that has the class "ProseMirror") so the text will be automatically LTR/RTL depending on the typed text.The text was updated successfully, but these errors were encountered: