add editor environment