add code editor support