-
Notifications
You must be signed in to change notification settings - Fork 8
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 #23
Comments
See https://discuss.prosemirror.net/t/does-prosemirror-support-rtl-languages-editing/1318 which suggests you probably just have to change your theme (or just add a simple css rule) for this. Can you test the direction style mentioned in this issue and let me know if this works. Maybe we could change the direction by language in v1.8. |
Oh, just saw that you already answered in the mentioned issue, if you need help with applying the style let me know. |
I leave this here just for me in order to implement rtl detection in the core: |
Duplicate #22 |
Thank you, I've tried this for 2 weeks, and get some progress. But I have to split file humhub-editor.js into some files to make my learning more simple. I'll inform if finally I can make it done Thank you |
I read here : #12 that humhub add some features to prosemirror like plugin system. Is there any documentation of it ? Or if I have to refer to prosemirror documentation, on which part ?
I found that every single function of button in humhub-prosemirror-richeditor is separated into single plugin humhub/protected/vendor/npm-asset/humhub-prosemirror-richtext/src/editor/core/plugins
And at least there are two files in every plugin : index.js and schema.js - in some plugins I also found input-rules.js and menu.js
Let said, that I want to add RTL plugin to my humhub-prosemirror, what should I do ? I've tried compare this to the most simple example at prosemirror git, that is prosemirror-menu-master. But I still can't get the idea how humhub-prosemirror-richtext work
I am really interested to learn much more about this. Where should I start ?
Thank you,
The text was updated successfully, but these errors were encountered: