A simple 1-liner can do it for you:
wp.blocks.getBlockTypes();
Code language: JavaScript (javascript)
That’s it.
When you’re on the post edit screen, you can run this command in the browser console.
![](https://thewpvoyage.com/wp-content/uploads/2022/02/Screen-Shot-2022-02-12-at-10.26.27-PM-1024x658.png)
A simple 1-liner can do it for you:
wp.blocks.getBlockTypes();
Code language: JavaScript (javascript)
That’s it.
When you’re on the post edit screen, you can run this command in the browser console.