-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Description
When pasting values from an Excel file, the Grid is using the HTML format, instead of Plain Text. This is troublesome as Excel can have many visual formats and the Grid is not using the raw value.
Take as an example a value "12345.67" in Excel. Depending on the cell width, Excel will show the value trimmed, rounded or even replaced with "####".
These are the values used if HTML format is first, which are not correct:
However, Plain Text contains the correct raw values:
Proposal:
Change the evaluation to consider clipboard format text/plain
first and text/html
second.
Second proposal:
Control the order of evaluation with a prop. Some prop called clipboardFormatPriority
, with an array of values text/html
,text/plain
, text
.
haltcase
Metadata
Metadata
Assignees
Labels
No labels