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

'around' option in replaceSelection does not work correctly.

Open kdby-io opened this issue 5 years ago • 0 comments

If I replace selection like below in original codemirror, new text are selected. But in react-codemirror2, wrong text are selected.

doc.replaceSelection('**' + text + '**', 'around');

kdby-io avatar Jun 16 '20 03:06 kdby-io