simplemde-markdown-editor: CodeMirror not defined

I just upgraded from version 1.10.1 to 1.11.0, and the exact same setup I had before now throws the error…

CodeMirror is not defined

anywhere that SimpleMDE tries to use CodeMirror. Reverting back to 1.10.1 resolves the problem. I’m really not sure where the error could be; my gulpfile just copies node_modules/simplemde/dist/simplemde.min.js to the requisite scripts directory in my application. It’s worked great up until 1.11.0.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Reactions: 1
  • Comments: 37 (16 by maintainers)

Most upvoted comments

Should be fixed now!

Issue still persist SimpleMDE is not defined. jsDelivr works fine though

It’s failing on Chrome (OSX) now for me too.

A temporary workaround in my package.json I’ve referenced this:

"codemirror-spell-checker": "git@github.com:NextStepWebs/codemirror-spell-checker.git#e2c7e3b67438cf1202f1081d55d2a3f71f2779ff"