bobbingwide / sb-toolicons-block

Helps you to document tool icons for a block.
0 stars 0 forks source link

Register block using `apiVersion: 2` #13

Open bobbingwide opened 3 years ago

bobbingwide commented 3 years ago

The Toolicons block and variations is registered using v1 of the registerBlockType API. It needs to be:

Requirements

Proposed solution

The scope is the source code of the plugin.

Process for updating node_modules

  1. Remove the existing node_modules folder
  2. npm install
  3. npm install @wordpress/scripts --save-dev

See https://developer.wordpress.org/block-editor/reference-guides/packages/packages-scripts/