remain other attributes when insert text attachment