State educators have decided a middle school teacher who sent hundreds of questionable text messages to a 14-year-old student will be allowed to stay in the classroom.