You can use this to get the instance of the editor. Then call function such as set_note(note).
set_note(note)