strip codemirror config