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
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 "src/config.js". For that we need the 2 blocks components we created and a svg icon that will be displayed in the blocks chooser.
should be
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 "src/index.js". For that we need the 2 blocks components we created and a svg icon that will be displayed in the blocks chooser.
index.js, not config.js.
I finished the exercise with a new volto weather block 10min ago :-)
BTW, great work and many thanks to all the writers and trainers, this is a great guide and plone is fun!!
The text was updated successfully, but these errors were encountered:
@adnus thanks for the report! Would you please submit a pull request with the fix?
For a typo fix, you don't need to sign the Plone Contributor Agreement, but instead include this statement in the description of your pull request.
I, [full name], agree to have this contribution published under Creative Commons 4.0 International License (CC BY 4.0), with attribution to the Plone Foundation.
there is a typo in https://training.plone.org/volto-customization/custom_block.html
should be
index.js, not config.js.
I finished the exercise with a new volto weather block 10min ago :-)
BTW, great work and many thanks to all the writers and trainers, this is a great guide and plone is fun!!
The text was updated successfully, but these errors were encountered: