operational transform for rich text