feat: when creating a new note, focus on title instead of body
This commit is contained in:
@@ -153,7 +153,7 @@ class EditorCtrl extends PureCtrl {
|
|||||||
this.loadPreferences();
|
this.loadPreferences();
|
||||||
|
|
||||||
if (note.dummy) {
|
if (note.dummy) {
|
||||||
this.focusEditor();
|
this.focusTitle();
|
||||||
}
|
}
|
||||||
if (previousNote && previousNote !== note) {
|
if (previousNote && previousNote !== note) {
|
||||||
if (previousNote.dummy) {
|
if (previousNote.dummy) {
|
||||||
|
|||||||
Reference in New Issue
Block a user