volto-blocks-widget
July 31, 2026 ยท View on GitHub
Volto addon to use blocks inside fields
Note: this repository contains the frontend (Volto) widget only. If you are using the server-side field package (collective.volto.blocksfield) you must also install this frontend package in your Volto project. See the backend package and its documentation here: https://github.com/collective/collective.volto.blocksfield
To be used with mrs-developer, see Volto docs for further usage informations.
Created with voltocli.
Usage
If you are using Volto < 16, then use v2.1.0
If you are using Volto < 12, then use v1.0.3
This is a widget for fields that have the widget set to 'blocks'.
Default allowed blocks are: Text, Video, HTML, Table
but you could customize your allowed blocks by adding this configuration to your config.js.
export const settings = {
...config.settings,
'volto-blocks-widget' = {
allowedBlocks: ['text', 'video', 'html', 'table'],
showRestricted: false,
},
};
The Sidebar rendering strategy (react-portal vs native createPortal) is chosen automatically based on the installed @plone/volto version, no configuration needed.