Building WordPress blocks using plain ol' JavaScript
This code repository is based on the Block Editor Handbook How-to Guide on building Blocks for WordPress, but with a focus on using plain JavaScript.
No requirement to install Node.js/npm, no build steps, no node_modules folder to wrangle.
If you find a bug in the code or the documentation, please open an issue
https://github.com/jonathanbossenger/wp-learn-javascript/tree/main/01-basic-block
https://github.com/jonathanbossenger/wp-learn-javascript/tree/main/02-adding-stylesheets
https://github.com/jonathanbossenger/wp-learn-javascript/tree/main/03-adding-attributes-and-richtext
https://github.com/jonathanbossenger/wp-learn-javascript/tree/main/04-block-controls