add a warning when no editor is present