Closed (fixed)
Project:
YAML Form
Version:
8.x-1.0-beta27
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Dec 2016 at 01:29 UTC
Updated:
23 Dec 2016 at 02:04 UTC
Jump to comment: Most recent
Just in case anyone else runs into this - I'm using Git for version control, and the new libraries/codemirror/ has a .gitignore that through me off. If you end up with a semi-functioning YAMLform module, and a javascript error that complains about missing CodeMirror function - that's the culprit.
Delete the extra .gitignore file (libraries/codemirror/.gitignore) and add this code to your site: libraries/codemirror/lib/codemirror.js
Should fix.
Comments
Comment #2
wheelercreek commentedComment #3
jrockowitz commentedOuch that is a really frustrating problem, that needs to be documented.
Comment #6
jrockowitz commentedI have been following this issue https://github.com/codemirror/CodeMirror/issues/4328 and I decided to just start using this mirror https://github.com/components/codemirror/archive/5.21.0.zip which completely solves the problem.
Please test using the latest dev release.