Custom Gutenberg block is not showing up in inserter dialog

Posted by Prem Tiwari | Updated on

You should enqueue your scripts using enqueue_block_assets action, like this:

Second, you should use JSX with modern JavaScript development environment to write your blocks easily.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers