editingNote
View in MarkdownSourceActions for changing the editingNote app state, including updating note details and managing note editing.
update(data)
Update
Update the editing note data.
- Name
- data
- Type
- Partial<Note>
- Required
- Description
- A Note data object to update. Every field of the Note is optional. You can pass pairs of fields you would like to update. 
 
To change the title of the editing note:
import { actions } from 'inkdrop'
inkdrop.store.dispatch(actions.editingNote.update({ title: 'NEW TITLE' }))
inkdrop.store.dispatch(actions.editor.change(true))
open(note)
Open
Load a note data to the editor.
Do not use this action in your plugin. Please use core:open-note command if you would like to open a note in the editor.
- Name
- note
- Type
- object
- Required
- Description
- A Note data object to load. 
 
close()
Close
Close the editing note.
Use editor.close action instead in your plugin.