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

Upgrade to CodeMirror 6 #2091

Open
bitwiseman opened this issue Aug 8, 2022 · 3 comments
Open

Upgrade to CodeMirror 6 #2091

bitwiseman opened this issue Aug 8, 2022 · 3 comments

Comments

@bitwiseman
Copy link
Member

Code mirror 6 has been released. Migrating from 5.x to 6 will require some changes.
https://codemirror.net/docs/migration/

@fk00750
Copy link

fk00750 commented Aug 18, 2022

Hey @bitwiseman can you assign me this issue

@mhnaeem
Copy link
Contributor

mhnaeem commented Nov 4, 2022

@bitwiseman Is there a plan for this issue? The latest CodeMirror version does not support <script> tags anymore. Would the plan be to move to a build system like Webpack, Parcel, ESBuild, etc.

From migrations docs https://codemirror.net/docs/migration/:

The 5.x library was distributed as UMD modules, which could either be loaded directly with <script> tags or bundled as CommonJS modules. The new version exposes only modules, which will require some kind of build step before you can use them.

@bitwiseman
Copy link
Member Author

@mhnaeem
I haven't looked into this task with any detail.
We already use webpack in our build. If you want to take this on, please do.

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

No branches or pull requests

3 participants