Check if editor is set

Quick and dirty for now