gets a codemirror code editor working for lead_in_edit