Add key handlers for bold, italic, and underline