Add disableEditor option
Closes #409