Open kdby-io opened 4 years ago
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');
If I replace selection like below in original codemirror, new text are selected. But in react-codemirror2, wrong text are selected.