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.
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