fix append block on empty editor