Skip to content

Commit 8a53abe

Browse files
committed
chore: update version and documentation
1 parent 17536fd commit 8a53abe

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

frontend/app_flowy/packages/appflowy_editor/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## 0.0.7
22
* Refactor theme customizer, and support dark mode.
3+
* Support export and import markdown.
34
* Fix some bugs.
45

56
## 0.0.6

frontend/app_flowy/packages/appflowy_editor/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,19 @@ flutter pub get
5454
Start by creating a new empty AppFlowyEditor object.
5555

5656
```dart
57-
final editorStyle = EditorStyle.defaultStyle();
5857
final editorState = EditorState.empty(); // an empty state
5958
final editor = AppFlowyEditor(
6059
editorState: editorState,
61-
editorStyle: editorStyle,
6260
);
6361
```
6462

6563
You can also create an editor from a JSON object in order to configure your initial state.
6664

6765
```dart
6866
final json = ...;
69-
final editorStyle = EditorStyle.defaultStyle();
7067
final editorState = EditorState(Document.fromJson(data));
7168
final editor = AppFlowyEditor(
7269
editorState: editorState,
73-
editorStyle: editorStyle,
7470
);
7571
```
7672

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,6 @@ final editorState = EditorState(
293293
);
294294
return AppFlowyEditor(
295295
editorState: editorState,
296-
editorStyle: EditorStyle.defaultStyle(),
297296
shortcutEvents: const [],
298297
customBuilders: {
299298
'network_image': NetworkImageNodeWidgetBuilder(),

0 commit comments

Comments
 (0)