fix #709 add validation for nicEdit-main in card