Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collective/volto-blocks-widget
A widget to use blocks inside fields
https://github.com/collective/volto-blocks-widget
Last synced: 2 months ago
JSON representation
A widget to use blocks inside fields
- Host: GitHub
- URL: https://github.com/collective/volto-blocks-widget
- Owner: collective
- Created: 2021-01-12T14:33:01.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T09:18:29.000Z (6 months ago)
- Last Synced: 2024-11-05T00:35:25.346Z (2 months ago)
- Language: JavaScript
- Size: 115 KB
- Stars: 3
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-volto - volto-blocks-widget - Volto addon to use blocks inside fields (Addons / Widgets)
README
# volto-blocks-widget
Volto addon to use blocks inside fields
To be used with mrs-developer, see [Volto docs](https://docs.voltocms.com/customizing/add-ons/) for further usage informations.
Created with [voltocli](https://github.com/nzambello/voltocli).
## Usage
> If you are using Volto < 16, then use [v2.1.0](https://github.com/collective/volto-blocks-widget/tree/v2.1.0)
>
> If you are using Volto < 12, then use [v1.0.3](https://github.com/collective/volto-blocks-widget/tree/v1.0.3)This is a widget for fields that have the widget set to 'blocks'.
Default allowed blocks are:
Text, Video, HTML, Tablebut you could customize your allowed blocks by adding this configuration to your config.js:
```jsx
export const settings = {
...config.settings,
'volto-blocks-widget' = {
allowedBlocks: ['text', 'video', 'html', 'table'],
showRestricted: false,
},
};
```