Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CodeMirror 3 Support #1

Open
TheBerg opened this issue Oct 16, 2014 · 2 comments
Open

CodeMirror 3 Support #1

TheBerg opened this issue Oct 16, 2014 · 2 comments

Comments

@TheBerg
Copy link

TheBerg commented Oct 16, 2014

Hi!

Does this work with CodeMirror 3? I am getting an error. Details:

Files Included.

//= require codemirror
//= require codemirror/modes/javascript
//= require codemirror/modes/css
//= require codemirror/modes/xml
//= require codemirror/modes/htmlmixed
//= require codemirror_liquid_mode/liquid

Initializer:
CodeMirror.fromTextArea($('#report_body')[0], {mode:"htmlmixedliquid"});

Error:
Uncaught TypeError: Cannot read property 'startState' of undefined

Any Ideas?

@TheBerg
Copy link
Author

TheBerg commented Oct 16, 2014

Not sure if this helps, but here is a screenshot of the error.

screen shot 2014-10-16 at 4 24 03 pm

@TheBerg
Copy link
Author

TheBerg commented Oct 16, 2014

@hennk Ping. :) Since it looks like this is all your code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant