Our helper htmlToGridSettings throws an error if a passed argument contains an empty table (no rows).
That helper is using in the pasting process and might have a negative impact on the CopyPaste plugin.
* #7311 - Fixes throwing errors if a table has no rows in htmlToGridSettings helper. Adds test spec for that behaviour.
* #7311 - Adds CHANGELOG entry. Adjusts code after linter check.
Description
Our helper
htmlToGridSettings
throws an error if a passed argument contains an empty table (no rows).That helper is using in the pasting process and might have a negative impact on the
CopyPaste
plugin.Steps to reproduce
Handsontable.helper.htmlToGridSettings('<table></table>)
Result:
Demo
https://jsfiddle.net/qzoh2p5d/
Your environment
The text was updated successfully, but these errors were encountered: