Skip to content
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

Feature Request: Support RTL content in rich-text-editor #2327

Closed
amirhhashemi opened this issue Apr 20, 2023 · 1 comment
Closed

Feature Request: Support RTL content in rich-text-editor #2327

amirhhashemi opened this issue Apr 20, 2023 · 1 comment

Comments

@amirhhashemi
Copy link

amirhhashemi commented Apr 20, 2023

I want to use Pocketbase in my Farsi (a Right To Left language) blog but unfortunately, your rich text editor doesn't give me control over the text direction so writing RTL content is kind of hard. It would be nice to have control over the text direction.

Around 600M people speak an RTL language. I'm sure lots of people will appreciate this feature. Also it helps Pocketbase to get more global adoption.

I haven't played much with Svelte and TinyMCE so I can't implement it myself. But TinyMCE has a plugin for that and it should be relatively easy to implement: https://www.tiny.cloud/docs/plugins/opensource/directionality/

@ganigeorgiev
Copy link
Member

I've enabled the directionality plugin in master:

directionality_screenshot

For new blank editors it'll also try to reuse the last explicitly set text direction (we keep the selection in localStorage).

The change will be available with the next minor v0.15.1 release sometime later this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants