To remove the whole applied block types such as headings or lists from the current
selection you can use the
clearBlockTypes utility will clear the block types from your selection. It'll
automatically remove your custom block types as well.
An example of