chore: run before push script

pull/2063/head
CatHood0 9 months ago
parent 48a24a320d
commit d6e617ce30
  1. 3
      lib/src/editor/raw_editor/raw_editor_state.dart
  2. 3
      lib/src/editor/widgets/text/text_block.dart

@ -980,7 +980,8 @@ class QuillRawEditorState extends EditorState
// and watch if the system language is a RTL language and avoid putting
// to the edge of the left side any checkbox or list point/number if is a
// RTL language
if (nodeTextDirection == TextDirection.ltr && _textDirection == TextDirection.rtl) {
if (nodeTextDirection == TextDirection.ltr &&
_textDirection == TextDirection.rtl) {
nodeTextDirection = TextDirection.rtl;
}
if (node is Line) {

@ -198,7 +198,8 @@ class EditableTextBlock extends StatelessWidget {
// and watch if the system language is a RTL language and avoid putting
// to the edge of the left side any checkbox or list point/number if is a
// RTL language
if (nodeTextDirection == TextDirection.ltr && textDirection == TextDirection.rtl) {
if (nodeTextDirection == TextDirection.ltr &&
textDirection == TextDirection.rtl) {
nodeTextDirection = TextDirection.rtl;
}
children.add(

Loading…
Cancel
Save