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 loading fails in certain circumstances due to innerCodeElem reference #4917

Closed
ssddanbrown opened this issue Mar 28, 2024 · 2 comments

Comments

@ssddanbrown
Copy link
Member

Error thrown when viewing page:

Uncaught (in promise) TypeError: innerCodeElem is null
    highlightElem index.mjs:58
    highlight index.mjs:93
    setup page-display.js:38
    promise callback*setup page-display.js:38
    initComponent components.js:95
    init components.js:122
    <anonymous> app.js:37

Can reproduce with the following in the MD editor: (ignoring backslashes)

\```
   blank format
\```

Reported by Reddit user BaccanoMob here.

@guillerg86
Copy link

guillerg86 commented Mar 31, 2024

Seems also failed the "copy" shortcut on code block at top right corner

codeblock-nocopy-shortcut

@ssddanbrown
Copy link
Member Author

Closed within 58f6219, to be part of the next patch release.

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

No branches or pull requests

2 participants