editor: check condition