Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

docs: minor updates to documentation.

Lucas.Xu28d9b8ee3a3a
diff --git a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
index 88a977e250..bac617937b 100644
--- a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
+++ b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md
@@ -1 +1,5 @@
+## 0.0.2
+Minor Updates to Documentation.
+
## 0.0.1
+Initial Version of the library.
\ No newline at end of file
diff --git a/frontend/app_flowy/packages/appflowy_editor/README.md b/frontend/app_flowy/packages/appflowy_editor/README.md
index 4961f036c4..8e239b6004 100644
--- a/frontend/app_flowy/packages/appflowy_editor/README.md
+++ b/frontend/app_flowy/packages/appflowy_editor/README.md
@@ -15,6 +15,10 @@ and the Flutter guide for
<p align="center">A highly customizable rich-text editor for Flutter</p>
+<p align="center">
+ <a href="https://discord.gg/ZCCYN4Anzq"><b>Discord</b></a> •
+ <a href="https://twitter.com/appflowy"><b>Twitter</b></a>
+</p>
<div align="center">
<img src="https://raw.githubusercontent.com/AppFlowy-IO/AppFlowy/main/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png" width = "900"/>
diff --git a/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png b/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png
index 1b1d439dbf..9bd16610dc 100644
Binary files a/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png and b/frontend/app_flowy/packages/appflowy_editor/documentation/images/example.png differ
diff --git a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
index 8b00d936ee..e1192580c5 100644
--- a/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
+++ b/frontend/app_flowy/packages/appflowy_editor/example/lib/main.dart
@@ -81,41 +81,6 @@ class _MyHomePageState extends State<MyHomePage> {
return Container();
}
- Widget _buildExpandableFab() {
- return ExpandableFab(
- distance: 112.0,
- children: [
- ActionButton(
- onPressed: () {
- if (page == 0) return;
- setState(() {
- page = 0;
- });
- },
- icon: const Icon(Icons.note_add),
- ),
- ActionButton(
- icon: const Icon(Icons.document_scanner),
- onPressed: () {
- if (page == 1) return;
- setState(() {
- page = 1;
- });
- },
- ),
- ActionButton(
- onPressed: () {
- if (page == 2) return;
- setState(() {
- page = 2;
- });
- },
- icon: const Icon(Icons.text_fields),
- ),
- ],
- );
- }
-
Widget _buildAppFlowyEditorWithEmptyDocument() {
final editorState = EditorState.empty();
final editor = AppFlowyEditor(
@@ -176,4 +141,39 @@ class _MyHomePageState extends State<MyHomePage> {
),
);
}
+
+ Widget _buildExpandableFab() {
+ return ExpandableFab(
+ distance: 112.0,
+ children: [
+ ActionButton(
+ onPressed: () {
+ if (page == 0) return;
+ setState(() {
+ page = 0;
+ });
+ },
+ icon: const Icon(Icons.note_add),
+ ),
+ ActionButton(
+ icon: const Icon(Icons.document_scanner),
+ onPressed: () {
+ if (page == 1) return;
+ setState(() {
+ page = 1;
+ });
+ },
+ ),
+ ActionButton(
+ onPressed: () {
+ if (page == 2) return;
+ setState(() {
+ page = 2;
+ });
+ },
+ icon: const Icon(Icons.text_fields),
+ ),
+ ],
+ );
+ }
}
diff --git a/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml b/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
index 56820bf316..9a7318659f 100644
--- a/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
+++ b/frontend/app_flowy/packages/appflowy_editor/pubspec.yaml
@@ -1,6 +1,6 @@
name: appflowy_editor
-description: An easily extensible, test-covered rich text editing component for Flutter.
-version: 0.0.1
+description: A highly customizable rich-text editor for Flutter
+version: 0.0.2
homepage: https://github.com/AppFlowy-IO/AppFlowy
environment: