Unexpected behavior of Newired Editor