react-codemirror
react-codemirror copied to clipboard
Codemirror edit INI-file
Hello.
Sorry but help me configure <CodeMirror value={iniFile}> that is dynamic ini-format strings.
Thanks. Regards.
@mche You may need to look for answers here. https://discuss.codemirror.net/
At now I only known with option mode
var editor = CodeMirror.fromTextArea(textarea, {
mode: 'text/x-ini'
});
But how to pass mode option to the react-codemirror?