For the WordPress Block Editor (a.k.a. Gutenberg).
- Navigate to the downloaded directory
- Run
npm install
- Run
npm run build
again.
To build your changes, simply run npm run build
again.
The output of the block is very simple:
<div class="wp-block-oddevan-interview-question">
<div class="question">
<p>What is your quest?</p>
</div>
<div class="answer">
<p>To seek The Grail™.</p>
</div>
</div>
No hooks yet.
Based on the Block Starter from WebDevStudios.