trilium
trilium copied to clipboard
Right to left languages support
It would be great if the editor natively supports right-to-left languages like Arabic and Farsi.
This will come in the next release (0.35) since CKEditor just merged support for RTL.
when 0.35 will be released?
0.35-beta has been already released. It contains the new CKEditor which should support RTL but I did not test RTL specifically (I don't really know how anyway). Feedback is welcome.
doesn't work.
also the font is not standard.
@zadam Any updates? Thanks
Not really, I guess this is one of those "help needed" issues since I have little experience with RTL. Based on CKEditor documentation it should work somehow automatically if the user has RTL environment (which I don't).
Please support RTL regardless of the user environment. I'm using Ubuntu and need to RTL support for some my own notes. I already use the gedit editor and it supports RTL. You can also refer to the following link from the Notable: Notable-RTL-Support
Any Updates?
@zadam there seems to be some partial, easy fixes for this. For example: using CKEditor5 Text Part Language, and this plugin.
I haven't tested them but I can give a hand if you decide to try them.
Is there any updates? I know a ton of people with rtl language needing this feature
i never worked with RTL document. but as i checked the CKEditor it won't automatically change the text direction. you have to do it manually. so the solution will be to add the icon tool to the tool bar. i did try to replace it with a CKEditor that i build it with having the direction changing icon on the tool bar but it failed while calling the CKEditor file. i watched the CKEditor files but i could'nt read it to compare it. i dont know how they used the editor on the software
but as i didnt read all the code cause of my current limited time. maybe adding the icon be a good solution to the one you already build. i couldnt fit them and i have no idea how that will break the program
Is there any updates? to solve this problem ?
@zadam
Based on CKEditor documentation it should work somehow automatically if the user has RTL environment.
I was just trying, seems it won't change contentLanguageDirection automatically as @matty0blake said.
the solution will be to add the icon tool to the tool bar. i did try to replace it with a CKEditor that i build it with having the direction changing icon on the tool bar.
This sounds a good and easy solution. I have tried to do it but couldn't manage to get all the pieces together since I am not familiar with the API.