Open fibonacid opened 4 years ago
Sometimes you need to include line feeds in you selected text, so I it would be nice to do this:
const text = getSelectionText(editorState, "\n"); console.log(text);
And the result would be
> Dear Foo\nHow are you ?
Sometimes you need to include line feeds in you selected text, so I it would be nice to do this:
And the result would be
> Dear Foo\nHow are you ?