AppFlowy-IO / AppFlowy-IO/appflowy-editor

[Question] Why this package is different then AppFlowy app's editor?

Abierto
#1,105 1 comentario 2 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

Hi, firstly thanks for this great package. I've multiple apps which use Super Editor for now. But it is too complicated and having random bugs. So I started to search another alternative. There are 2 candidates Flutter Quill and AppFlowy Editor.

I tested AppFlowy mobile app and love the editor experience and consider to implement this editor to my app. But in example project has some issues which are not available on your mobile app. Is your mobile app using the exactly this package?

1. https://github.com/AppFlowy-IO/appflowy-editor/issues/1104
In AppFlowy app, toolbar always visible when keyboard open. But example project is not.

2. If I move the cursor to bold text, in AppFlowy app toolbar's bold item displaying active as should be. But in example editor, bold item displaying as not active.
In text_decoration_mobile_toolbar_item_v2.dart
```
if (selection.isCollapsed) {
isSelected = widget.editorState.toggledStyle.containsKey(
currentDecoration.name,
);
}
```
It checks the cursor position is bold or not, but it is not working because toggledStyle is empty even over a bold text. Because of it is working on AppFlowy app, you fixed the issue or using customized toolbar items. I wonder that what is your way to use this package on your own app.

To sum up, what is the difference with your production app's editor, and how can we achieve the same result? Maybe documentation, or a blog post would be great.

@LucasXu0 @Xazin

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.