init new editor