support insert-space for rich editor