The editor renders properly but when editing only one line is shown 