[Bug]Edit/Preiew icon out of sync when a new note is created while in preview mode
TamasRaj opened this issue · comments
To Reproduce
Steps to reproduce the behavior:
- Open any note
- Change it to preview mode from markdown mode
- Click New Note or use shortcut ctrl + alt + n
- Now the note is in editing mode but preview icon is shown
Expected behavior
Since the newly created note always starts in edit mode the icon should change to edit icon whenever a new note is created.
Actual behavior
See above ("To Reproduce")
this will fix #555 too!