Add toggle invisibility to the editor.