singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.6k stars 839 forks source link

Bug in the text direction #2237

Open NourEldin-Ali opened 2 months ago

NourEldin-Ali commented 2 months ago

Is there an existing issue for this?

Flutter Quill version

flutter_quill: ^10.5.3

Steps to reproduce

I use fullter quill in windows app, however when i you QuillEditor with locate 'ar' the direction of the text is not changed

Expected results

change text direction to RTL

Actual results

image

Code sample

Code sample QuillEditor.basic( controller: _controllerList[indexTab], configurations: richText.QuillEditorConfigurations( sharedConfigurations: richText.QuillSharedConfigurations( locale: Locale('ar'), ), ),

Additional Context

Screenshots / Video demonstration ![image](https://github.com/user-attachments/assets/d6d99083-4f78-4a2e-bbf9-abd8c19d8108)
CatHood0 commented 2 months ago

Please, update to the last version of the package. If the issue persist, then report it.

NourEldin-Ali commented 2 months ago

Thank you for your response, i was update the version of the flutter to 'flutter_quill: ^10.6.2', but the bug still the same:

Note that the QuillToolbar is changed to arabic, but the QuillEditor it does not work (rtl).

Tested on Windows 10.

screen shoot: image

My code: quill.QuillEditor.basic( controller: _controllerList[indexTab], configurations: quill.QuillEditorConfigurations( sharedConfigurations: quill.QuillSharedConfigurations( locale: Locale('ar'), ), ), ),

In the preview version :flutter_quill: ^8.6.1 it was work well.

Thank you again

CatHood0 commented 2 months ago

Thanks for the report. I'll take a look what could be happening in.