MDL-71718 lib: Set Moodle files after codemirror upgrade
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<location>yui/src/codemirror</location>
|
||||
<name>codemirror</name>
|
||||
<license>MIT</license>
|
||||
<version>5.59.4</version>
|
||||
<version>5.65.0</version>
|
||||
<licenseversion></licenseversion>
|
||||
</library>
|
||||
<library>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user