fixed editor text issue when deleting draft