Update editor.clj

Remove unused logic.(commented)