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

Console error when using inline bash in Markdown #4947

Closed
blink1073 opened this issue Sep 1, 2017 · 0 comments
Closed

Console error when using inline bash in Markdown #4947

blink1073 opened this issue Sep 1, 2017 · 0 comments

Comments

@blink1073
Copy link

Using [email protected], if we add the following to a CodeMirror instance in gfm mode, we get the resulting error:

```bash<RETURN>
markdown.js:801 Uncaught TypeError: state.localMode.indent is not a function
    at Object.indent (markdown.js:801)
    at Object.indent (overlay.js:72)
    at Object.indent (multiplex.js:94)
    at indentLine (codemirror.js:7796)
    at CodeMirror$1.<anonymous> (codemirror.js:8031)
    at CodeMirror$1.indentLine (codemirror.js:3858)
    at codemirror.js:6881
    at runInOp (codemirror.js:3840)
    at newlineAndIndent (codemirror.js:6875)
    at doHandleBinding (codemirror.js:6926)

I believe it is a result of this change, because if I inspect at that point I get the following:

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