Rewrite placeholder if editor is empty

fixes #33