Editor API
BlockNote exposes an API to interact with the editor and its contents from code.
These methods are directly available on the BlockNoteEditor
object you created when instantiating your editor.
- Manipulating Blocks explains how to read / update Blocks in the document.
- Manipulating Inline Content explains how to update / read data from selected text.
- Cursors & Selections explains methods related to cursor positions and selections.
- Markdown & HTML explains how to convert the document to and from Markdown and HTML.