Needs review
Project:
Wysiwyg CodeMirror source highlighting
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
2 Feb 2011 at 14:27 UTC
Updated:
2 Feb 2011 at 14:27 UTC
Wysiwyg codemirror breaks in IE7.
To resolve this, remove the last comma in the codemirror-array of /sites/all/modules/wysiwyg_codemirror/tinymce/codemirror/js/dialog.js.
codemirror = CodeMirror.fromTextArea(f.code, {
height: "405px",
width: "95%",
parserfile: "parsexml.js",
stylesheet: "/sites/all/modules/wysiwyg_codemirror/tinymce/codemirror/js/codemirror/css/xmlcolors.css",
path: "/sites/all/modules/wysiwyg_codemirror/tinymce/codemirror/js/codemirror/js/",
reindentOnLoad: true,
continuousScanning: 500,
lineNumbers: true,
textWrapping: true,
indentUnit: 3,
tabMode: 'shift', <--- remove this comma
});