Allow enter and tab keys in the editor. Now, shift enter will submit the note.