React-quill: Direction button not working

Created on 25 May 2019  路  3Comments  路  Source: zenoamaro/react-quill

Hi

As you can see here https://codepen.io/anon/pen/KLRaYq#anon-login The RTL button does not work.

Most helpful comment

I think it's only configuration issue.
On the Editor.modules: Change ['direction'] to be [{ direction: 'rtl' }]
On the Editor.formats: Add also the following values: 'direction', 'align'

It is working for me like that, with rtl / ltr

Working Solution:

https://codepen.io/galta/pen/KKdvQez

All 3 comments

we need a fix please

I think it's only configuration issue.
On the Editor.modules: Change ['direction'] to be [{ direction: 'rtl' }]
On the Editor.formats: Add also the following values: 'direction', 'align'

It is working for me like that, with rtl / ltr

Working Solution:

https://codepen.io/galta/pen/KKdvQez

Thanks @galta for the solution.
It works for me.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LiuChangFreeman picture LiuChangFreeman  路  3Comments

stinoga picture stinoga  路  3Comments

gustavoelizalde picture gustavoelizalde  路  5Comments

aliciawood picture aliciawood  路  3Comments

shaneshearer-andculture picture shaneshearer-andculture  路  4Comments