0

I have a react quill editor, and i want it to start typing from right if it's Arabic, the attribute dir='auto' is working great with or but my question is there a way for react quill editor to act the same?

ReactQuill Editor:

<div>
                <ReactQuill
                    style={{height: '500px'}}
                    ref={(el) => { this.reactQuillRef = el }}
                    theme={'snow'}
                    onChange={this.handleChange}
                    modules={this.modules}
                    value={this.state.editorHtml}
                    placeholder={this.props.placeholder}
                />
            </div>  
sultan.h
  • 331
  • 1
  • 4
  • 16

0 Answers0