Skip to content

Commit

Permalink
Enhance edit page
Browse files Browse the repository at this point in the history
  • Loading branch information
BigtoC committed May 27, 2020
1 parent 78fc65b commit 901cdbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/note_services/edit_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class EditorPageState extends State<EditorPage> {
final contents = await file.readAsString();
return NotusDocument.fromJson(jsonDecode(contents));
}
final Delta delta = Delta()..insert("");
final Delta delta = Delta()..insert("\n");
return NotusDocument.fromDelta(delta);
}

Expand Down

0 comments on commit 901cdbe

Please sign in to comment.