Skip to content

Commit b8b2de2

Browse files
authored
Merge pull request #870 from LucasXu0/documentation/flowy_editor
docs: readme
2 parents be6a3cc + b1bf936 commit b8b2de2

File tree

4 files changed

+12
-40
lines changed

4 files changed

+12
-40
lines changed
Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1 @@
11
## 0.0.1
2-
3-
* 实现基础的编辑器样式
4-
* heading
5-
* bold / 斜体 / underline / 删除线
6-
* checkbox
7-
* bulleted list
8-
* 实现可扩展的编辑器框架
9-
* IME 的支持
10-
* 样式的复制粘贴
11-
* slash 快捷输入

frontend/app_flowy/packages/appflowy_editor/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ and the Flutter guide for
1717

1818

1919
<div align="center">
20-
<img src="documentation/images/example.png" width = "900"/>
20+
<img src="https://raw.githubusercontent.com/AppFlowy-IO/AppFlowy/main/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png" width = "900"/>
2121
</div>
2222

2323
## Key Features
2424

2525
* Allow you to build rich, intuitive editors
2626
* Design and modify it your way by customizing components, shortcut events, and many more coming soon including menu options and themes
27-
* [Test-covered](https://github.com/LucasXu0/AppFlowy/blob/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/documentation/testing.md) and maintained by AppFlowy's core team along with a community of more than 1,000 builders
27+
* [Test-covered](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/documentation/testing.md) and maintained by AppFlowy's core team along with a community of more than 1,000 builders
2828

2929

3030
## Getting started
@@ -67,24 +67,24 @@ flutter run
6767

6868
## How to customize
6969
### Customize a component
70-
Please refer to [customizing a component](documentation/customizing.md#customizing-a-custom-component) for more details.
70+
Please refer to [customizing a component](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md#customize-a-component) for more details.
7171

7272

7373
### Customize a shortcut event
74-
Please refer to [customizing a shortcut event](documentation/customizing.md#customizing-a-custom-shortcut-event) for more details.
74+
Please refer to [customizing a shortcut event](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md#customize-a-shortcut-event) for more details.
7575

7676
## More Examples
7777
* Customize a component
78-
* [Checkbox Text](https://github.com/LucasXu0/AppFlowy/blob/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart) shows you how to extend new styles based on existing rich text components
79-
* [Image](https://github.com/LucasXu0/AppFlowy/blob/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/image_node_widget.dart) teaches you how to extend a new node and render it
80-
* And more examples on [rich-text plugins](https://github.com/LucasXu0/AppFlowy/tree/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text)
78+
* [Checkbox Text](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text/checkbox_text.dart) shows you how to extend new styles based on existing rich text components
79+
* [Image](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/example/lib/plugin/network_image_node_widget.dart) teaches you how to extend a new node and render it
80+
* And more examples on [rich-text plugins](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/lib/src/render/rich_text)
8181
* Customize a shortcut event
82-
* [BIUS](https://github.com/LucasXu0/AppFlowy/blob/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart) shows you how to make text bold/italic/underline/strikethrough through shortcut keys
83-
* [Paste HTML](https://github.com/LucasXu0/AppFlowy/blob/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart) gives you an idea on how to handle pasted styles through shortcut keys
84-
* Need more examples? Check out [Internal key event handlers](https://github.com/LucasXu0/AppFlowy/tree/documentation/appflowy_editor/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers)
82+
* [BIUS](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/update_text_style_by_command_x_handler.dart) shows you how to make text bold/italic/underline/strikethrough through shortcut keys
83+
* [Paste HTML](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers/copy_paste_handler.dart) gives you an idea on how to handle pasted styles through shortcut keys
84+
* Need more examples? Check out [Internal key event handlers](https://github.com/AppFlowy-IO/AppFlowy/blob/main/frontend/app_flowy/packages/appflowy_editor/lib/src/service/internal_key_event_handlers)
8585

8686
## Glossary
87-
Please refer to the API documentation (link).
87+
Please refer to the API documentation.
8888

8989
## Contributing
9090
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated. Please look at [CONTRIBUTING.md](https://appflowy.gitbook.io/docs/essential-documentation/contribute-to-appflowy/contributing-to-appflowy) for details.

frontend/app_flowy/packages/appflowy_editor/documentation/contributing.md

Lines changed: 0 additions & 17 deletions
This file was deleted.

frontend/app_flowy/packages/appflowy_editor/lib/src/render/selection/selectable.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ import 'package:flutter/material.dart';
66
/// and size of the selection.
77
///
88
/// The widget returned by NodeWidgetBuilder must be with [Selectable],
9-
/// otherwise the [FlowySelectionService] will not work properly.
10-
///
9+
/// otherwise the [AppFlowySelectionService] will not work properly.
1110
mixin Selectable<T extends StatefulWidget> on State<T> {
1211
/// Returns the [Selection] surrounded by start and end
1312
/// in current widget.

0 commit comments

Comments
 (0)