Textrich editor could not be required with html5 attribute