Allow customisation of buttons on a semantic block

This customisation was needed for another request, which is also included here: Don't show the copy button on a solution block.