AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

Abierto
#1,140 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Dart
Estrellas
684
Forks
329
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.