Single options object for the BlockNote editor npm packages

Last modified by Marius Dumitru Florea on 2026/11/23 23:09

The BlocknoteEditor component of @xwiki/platform-editors-blocknote-headless and the React editor of @xwiki/platform-editors-blocknote-react now take a single options object (plus the initial content): the options of each editor feature are grouped under features (false disables a feature), and the services the editor needs, such as the macro, image and link editors, are taken from the service container instead of being passed as callbacks. The previous properties, including editorProps, are no longer supported, and integrations have to bind the editor features in the service container, e.g. with the ComponentInit of @xwiki/platform-editors-blocknote-react. It is also the first step toward editor features contributed by extensions: see the Headless BlockNote Editor reference.

Get Connected