-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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
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:196Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working