AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Bug] Caret causes text aligned center or right to be misaligned

Đang mở
#1,140 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
684
Fork
329
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Bug Description

Aligning a paragraph block center or right causes text to be misaligned when the caret is focused on the paragraph block. Moving the caret to another block makes the alignment correct.

### How to Reproduce

1. Input text to an AppFlowyEditor widget.
2. Set alignment to center or right, see the text misaligned
3. Move the caret to another block (or create a new one by adding a newline)

### Expected Behavior

Alignment should be preserved even if caret is present.

### Operating System

Windows 11 (26200.5074)

### AppFlowy Editor Version(s)

6.0.0 (main branch from repository), Flutter 3.35

### Screenshots

Image

Image

Image

Video:
https://www.youtube.com/watch?v=gjfYJwQmr1s

### Additional Context

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.