From 8a53abef3fdde8ae353bd29a39b0039f42581187 Mon Sep 17 00:00:00 2001 From: "Lucas.Xu" Date: Wed, 9 Nov 2022 11:37:06 +0800 Subject: [PATCH] chore: update version and documentation --- frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md | 1 + frontend/app_flowy/packages/appflowy_editor/README.md | 4 ---- .../packages/appflowy_editor/documentation/customizing.md | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md index e791f4c9fe..57c4c94bb9 100644 --- a/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md +++ b/frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md @@ -1,5 +1,6 @@ ## 0.0.7 * Refactor theme customizer, and support dark mode. +* Support export and import markdown. * Fix some bugs. ## 0.0.6 diff --git a/frontend/app_flowy/packages/appflowy_editor/README.md b/frontend/app_flowy/packages/appflowy_editor/README.md index 2d1e2ae047..a6f47172de 100644 --- a/frontend/app_flowy/packages/appflowy_editor/README.md +++ b/frontend/app_flowy/packages/appflowy_editor/README.md @@ -54,11 +54,9 @@ flutter pub get Start by creating a new empty AppFlowyEditor object. ```dart -final editorStyle = EditorStyle.defaultStyle(); final editorState = EditorState.empty(); // an empty state final editor = AppFlowyEditor( editorState: editorState, - editorStyle: editorStyle, ); ``` @@ -66,11 +64,9 @@ You can also create an editor from a JSON object in order to configure your init ```dart final json = ...; -final editorStyle = EditorStyle.defaultStyle(); final editorState = EditorState(Document.fromJson(data)); final editor = AppFlowyEditor( editorState: editorState, - editorStyle: editorStyle, ); ``` diff --git a/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md b/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md index 98acc58f98..2733a79472 100644 --- a/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md +++ b/frontend/app_flowy/packages/appflowy_editor/documentation/customizing.md @@ -293,7 +293,6 @@ final editorState = EditorState( ); return AppFlowyEditor( editorState: editorState, - editorStyle: EditorStyle.defaultStyle(), shortcutEvents: const [], customBuilders: { 'network_image': NetworkImageNodeWidgetBuilder(),