add codemirror to theme form