functionality to put formatting items in toolbar