File tree Expand file tree Collapse file tree 3 files changed +1
-5
lines changed
frontend/app_flowy/packages/appflowy_editor Expand file tree Collapse file tree 3 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -54,23 +54,19 @@ flutter pub get
5454Start by creating a new empty AppFlowyEditor object.
5555
5656``` dart
57- final editorStyle = EditorStyle.defaultStyle();
5857final editorState = EditorState.empty(); // an empty state
5958final editor = AppFlowyEditor(
6059 editorState: editorState,
61- editorStyle: editorStyle,
6260);
6361```
6462
6563You can also create an editor from a JSON object in order to configure your initial state.
6664
6765``` dart
6866final json = ...;
69- final editorStyle = EditorStyle.defaultStyle();
7067final editorState = EditorState(Document.fromJson(data));
7168final editor = AppFlowyEditor(
7269 editorState: editorState,
73- editorStyle: editorStyle,
7470);
7571```
7672
Original file line number Diff line number Diff line change @@ -293,7 +293,6 @@ final editorState = EditorState(
293293);
294294return AppFlowyEditor(
295295 editorState: editorState,
296- editorStyle: EditorStyle.defaultStyle(),
297296 shortcutEvents: const [],
298297 customBuilders: {
299298 'network_image': NetworkImageNodeWidgetBuilder(),
You can’t perform that action at this time.
0 commit comments