online editor supports if and for