insert content at cursor  for textarea or editable's dom.