
Further to the previous post showing the creation of a simple table, this shows how to add a column that contains a preview image of a particular block definition. I had to modify the code somewhat to open the block table sooner than we did before (I tend not to leave it open for longer than I have to, but in this case we want to check it for appropriate block definitions earlier on, while we're creating the table). Then I added a simple check, to see whether a block definition corresponding to our "name" field exists for a... Read more →