clear editor when an non-input node is selected (closes #136)