Both Sam and John's code work for me, however:
Sam: I've tried editing the code to apply to multiple blocks but can't seem to get it right. What code do I add?
John: Is it possible to apply this code to selected blocks rather than all of them?
Fingers crossed there'll be a core update with this feature.
Thanks for your time and effort.