AppFlowy-IO / AppFlowy-IO/appflowy-editor

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

未关闭
#1,105 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Dart
星标
684
派生
329
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。