You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a workaround I was able to do jspreadsheet.events = { paste: jspreadsheet.paste } and things seem to work ok now.
Reproduction steps
1. Initialize jspreadsheet version 11 with copypaste advanced plugin
2. Observe exception like:
: Cannot read properties of undefined (reading 'paste')
at Function.<anonymous> (index.js:1008:1)
at Object.t [as setPlugins] (index.js:122:52)
at t.<computed> (index.js:123:1)
at t.<computed> [as spreadsheet] (index.js:408:195)
at index.js:522:196
The text was updated successfully, but these errors were encountered:
Plugin Name with version
Copypaste Advanced 3.3.1
JSpreadsheet version
v10.x
Describe the bug
Jspreadsheet 11 is out now and it included some API changes which broke Advanced Copy Paste v3.3.1 initialization. In particular
jspreadsheet.events
is no longer available so the code at line 1008 here: https://www.npmjs.com/package/@jspreadsheet/copypaste_advanced?activeTab=code throws an exception.As a workaround I was able to do
jspreadsheet.events = { paste: jspreadsheet.paste }
and things seem to work ok now.Reproduction steps
The text was updated successfully, but these errors were encountered: