Gutenberg custom hero block tutorial

Tekst tutorial i to dele.

BEMÆRK!! InspectorControls og ColorPalette skal importeres fra wp.editor, fremfor wp.blocks

Part 1:

WordPress Gutenberg Blocks Example: Creating a Hero Image Block with Inspector Controls, Color Palette, and Media Upload (Part 1)

Part 2:

WordPress Gutenberg Blocks Example: Creating a Hero Image Block with Inspector Controls, Color Palette, and Media Upload (Part 2)