List blocks in editor

,

[display-posts taxonomy=”category” tax_term=”current” posts_per_page=”200″]

List blocks used in the editor

wp.data.select('core/block-editor').getBlocks();

To get a list of all Blocks currently available in the editor

wp.blocks.getBlockTypes()


Posted

in

,