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

Using multiplex mode #282

Open
dcoales opened this issue May 11, 2022 · 0 comments
Open

Using multiplex mode #282

dcoales opened this issue May 11, 2022 · 0 comments

Comments

@dcoales
Copy link

dcoales commented May 11, 2022

Hi,

Does anyone have any examples of using multiplex mode with react-codemirror2. I have implemented my own mode with a custom tokenizer, and am using this with an editor which just parses this mode, but now I want to implement an editor which is primarily json with some embedded blocks which use my custom mode.

I've seen examples of this written directly in javascript but I'm not quite sure how to do this with the react-codemirror2 package.

Any help gratefully received.

Thanks
David

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