Welcome to Inkdrop! These docs give an overview of how Inkdrop works, and are meant to be a reference for plugin developers.
The Inkdrop Forum is the place to discuss anything and everything Inkdrop related with the entire Inkdrop community. If you have problems or are looking for help, this is your place.
This actions class manages all essential editing state for a note editor. If you're manipulating the state of an editor, use this class.
const editorActions = inkdrop.flux.getActions('editor')
Create new note and open it in the editor.
Open a note in the editor.
noteId: A String containing a note ID to open
viewMode: A String which can be
isNew: A Boolean indicating whether opening note is new. Default:
force: A Boolean,
trueto force open a note again even if it's already opened. Default:
Close current note.
Update current note.
document: A Note Object representing the current note to update.
changed: A Boolean indicating the note has been changed or not.
Change the editor view mode.
viewMode: A String which can be following values:
Save current note to the local database.
document: A Note Object representing the current note to save.
The source of these docs is here on GitHub. If you see a way these docs can be improved, please fork us!