editor enabled on click