Added method to get buttongs from richtext toolbar.