react-spreadsheet
react-spreadsheet copied to clipboard
Delete trailing new line character from pasted text
Problem
When copying single empty cell from Google Spreadsheet (or copy some values from Excel), pasting result includes extra empty row.
Cause
Because copied value from Google Spreadsheet's empty cell is "\n".
Solution
I think it's better to delete trailing new line character from pasted text.
@nullnull can you please fix my comments so I can merge your PR?
@iddan Sorry for late reply. I've fixed it!