handle text align, bold, italic, underline