make editors in different mode possible