MDL-43990 Atto: Add a function for changing the formatting of the selected block.