Cleans up Editor
Fixes a bug where the newline event ended up in the textarea after creating a new note in the new note bar