AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

Open
#1,105 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
684
Forks
329
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.