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 decorators are not applied in the SandpackPreview component #1185

Closed
1 task done
andreifloricel opened this issue Aug 26, 2024 · 1 comment · Fixed by #1186
Closed
1 task done

CodeMirror decorators are not applied in the SandpackPreview component #1185

andreifloricel opened this issue Aug 26, 2024 · 1 comment · Fixed by #1186

Comments

@andreifloricel
Copy link
Contributor

Bug report

CodeMirror decorations provide a nice way to style readonly code snippets:
https://sandpack.codesandbox.io/docs/advanced-usage/components#codemirror-decorations

This feature stopped working with sandpack-react v2.18.3: codesandbox v2.18.3

It still worked with version 2.18.2: codesandbox v2.18.2

Packages affected

  • sandpack-react
@andreifloricel
Copy link
Contributor Author

Thanks! 🙌

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

Successfully merging a pull request may close this issue.

1 participant