Correcting toggle editor bug and enhancing specs. Still a bug on duplicate function of editor with model