Add clickable styles to text objects for text viewer