This template provides a tutorial for creating an Editorial Note field for every block by adding a custom attribute and control to all blocks via block filters.
npx @wordpress/create-block editorial-notes --template @block-developer-cookbook/editorial-notes
-
start
- scaffolds starting files for the tutorial -
completed
- scaffolds the completed files for the tutorial
The tutorial can be found in the main README.md file of the generated plugin or at https://blockdevelopercookbook.com/recipes/editorial-notes/