Fixed newline issue in data editor