diff --git a/lib/editor/atto/plugins/html/thirdpartylibs.xml b/lib/editor/atto/plugins/html/thirdpartylibs.xml index 52809d74461..7227442da60 100644 --- a/lib/editor/atto/plugins/html/thirdpartylibs.xml +++ b/lib/editor/atto/plugins/html/thirdpartylibs.xml @@ -4,7 +4,7 @@ yui/src/codemirror codemirror MIT - 5.59.4 + 5.65.0 diff --git a/lib/editor/atto/plugins/html/yui/src/codemirror/readme_moodle.txt b/lib/editor/atto/plugins/html/yui/src/codemirror/readme_moodle.txt index 3bfc5274a84..a9a720088c2 100644 --- a/lib/editor/atto/plugins/html/yui/src/codemirror/readme_moodle.txt +++ b/lib/editor/atto/plugins/html/yui/src/codemirror/readme_moodle.txt @@ -1,6 +1,6 @@ Description of importing the codemirror library into Moodle. -NOTE 2: To make it more readable, in this explanation [LIBRARYPATH] means: +NOTE: To make it more readable, in this explanation [LIBRARYPATH] means: [PATH TO YOUR MOODLE]/lib/editor/atto/plugins/html/yui/src/codemirror 1 Download the latest codemirror code somewhere (example /tmp/cm) using: npm install codemirror @@ -14,11 +14,9 @@ cp node_modules/codemirror/mode/htmlmixed/htmlmixed.js [LIBRARYPATH]/js cp node_modules/codemirror/mode/javascript/javascript.js [LIBRARYPATH]/js cp node_modules/codemirror/mode/xml/xml.js [LIBRARYPATH]/js -3 Update the verison number in: - [PATH TO YOUR MOODLE]/var/www/html/m/master2/lib/editor/atto/plugins/html/thirdpartylibs.xml - -3 rebuild the module by: +3 Rebuild the module by: cd [PATH TO YOUR MOODLE]/lib/editor/atto/plugins/html/yui/src/ grunt shifter - +4 Update the version number in (using the version noted down in #1): + [PATH TO YOUR MOODLE]/lib/editor/atto/plugins/html/thirdpartylibs.xml