fixes for standard rich text editor