Tag: wp.data

  • List All Blocks in the Console

    List All Blocks in the Console

    You can get an array of all the blocks used in your editor by going to the inspector console and using this bit of code. In this array, you can see all the attributes for each! So, if you need to approach the editor as a whole, as in, all the blocks and not just…