You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/volto-customization/custom_block.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -381,7 +381,7 @@ import WeatherView from './components/Blocks/Weather/View';
381
381
export { WeatherView, WeatherEdit };
382
382
```
383
383
384
-
We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/config/blocks.ts`.
384
+
We need to configure the project to make it aware of a new block by adding it to the object configuration that is located in {file}`src/index.js`.
385
385
For that we need the two blocks components we created and a SVG icon that will be displayed in the blocks chooser.
0 commit comments