react-codemirror2 icon indicating copy to clipboard operation
react-codemirror2 copied to clipboard

How to Set Lines Range as readonly ?

Open staticle opened this issue 5 years ago • 1 comments

staticle avatar Jun 03 '20 01:06 staticle

not worked for me:

editor.markText({line: 0, ch: 0}, {line: 0, ch: 26}, { readOnly:true});

johnnytolengo avatar Dec 23 '20 19:12 johnnytolengo