Be able to add custom attrs to the text element