react-datasheet-grid
react-datasheet-grid copied to clipboard
pasting formatted text
Whenever i try to paste Text into the Grid from Macs TextEdit or Notes App, it doesn't get pasted (surprisingly, whenever I paste via shortcut, right-click and paste works). I tried using the custom pasteHandler, but the value already arrived there already empty. It seems like the issue is with parseTextHtmlData in onPaste. If I change copyPasting_1.parseTextHtmlData into copyPasting_1.parseTextPlainData (in the first ifstatement of onPaste) it works.