gutenberg – Is it possible to programmatically remove a block?
-
I want to remove/delete a block I added in the Editor programmatically (the same thing that happens when I click on the dots-menu and select “remove block” or press shift+alt+z). I don’t ask here how to remove blocks from the list of available blocks.
Since I have the clientid and can change all kinds of different stuff there should be a way to remove it but I can’t find anything towards that.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘gutenberg – Is it possible to programmatically remove a block?’ is closed to new replies.