Skip to content

Commit 901cdbe

Browse files
committed
Enhance edit page
1 parent 78fc65b commit 901cdbe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/note_services/edit_ui.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ class EditorPageState extends State<EditorPage> {
192192
final contents = await file.readAsString();
193193
return NotusDocument.fromJson(jsonDecode(contents));
194194
}
195-
final Delta delta = Delta()..insert("");
195+
final Delta delta = Delta()..insert("\n");
196196
return NotusDocument.fromDelta(delta);
197197
}
198198

0 commit comments

Comments
 (0)