Add event object code
Rich text editing