AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

オープン
#1,140 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
684
フォーク
329
PR マージ指標
30日以内にマージされた PR はありません

説明

### 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_

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。