If you want to handle RTL direction for specific editor add class for wrapper ql-editor class then give it styles ex:
className='rtl-editor'
To not effect on ltr editors
.rtl-editor {
  .ql-editor {
    direction: rtl;
    text-align: right;
    }
}