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 6 runmode #328

Open
chema97ic opened this issue Jun 9, 2022 · 3 comments
Open

Codemirror 6 runmode #328

chema97ic opened this issue Jun 9, 2022 · 3 comments

Comments

@chema97ic
Copy link

Is there anyway to pass a string and highlight it in codemirror 6? Would i have to downgrade to the v3 of this package to get such functionality? Something similar to the runMode that was in previous versions

@jaywcjlove
Copy link
Member

This requires you to encapsulate similar functionality yourself
@chema97ic

Is this a feature of this example? https://codemirror.net/5/demo/runmode.html

@chema97ic
Copy link
Author

thats exactly what i want yes! so it is not available as of now in codemirror 6? If i go back to v3 of react-codemirror would i be able to use it? Implementing it myself seems kindda difficult and redundant when there was one already built in...

@jaywcjlove
Copy link
Member

There is currently no built-in functionality for this.

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

2 participants