code and rich text editor