react-codemirror2
react-codemirror2 copied to clipboard
markText readOnly line now working
any idea why does not working?
editorDidMount={ (editor) => {
editor.markText({line: 0, ch: 0}, {line: 0, ch: 26}, { readOnly:true });
}