add codemirror dependency