Docs
Editor API

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.