Skip to content

Commit 901cdbe

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/note_services/edit_ui.dart

+1-1
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)