ensure that simple editor return texts only