Check if editor is empty (See issue #6)