GBonnaire / jspreadsheet-plugins-and-editors

Plugins and Editors for JSpreadsheet Pro 7, Pro 8 and Pro 9
https://repo.gbonnaire.fr/category/jspreadsheetpro
MIT License
13 stars 0 forks source link

Uncaught ReferenceError: jss_copypaste_advanced is not defined #4

Closed hatsumihayashi closed 3 years ago

hatsumihayashi commented 3 years ago

Hi.

I'm trying to import copypaste_advanced in JSpreadSheetPro with NPM. https://github.com/GBonnaire/jspreadsheet-plugins-and-editors/tree/master/plugins/src/copypaste_advanced#npm When I followed this approach and imported it, I got an error. スクリーンショット 2021-06-07 17 08 31

Temporarily, I commented out L.564 in the local node_modules/@jspreadsheet/copypaste_advanced/index.js and the error disappeared.

window.jexcel_copypaste_advanced = jss_copypaste_advanced;
↓
//window.jexcel_copypaste_advanced = jss_copypaste_advanced;

https://github.com/GBonnaire/jspreadsheet-plugins-and-editors/blob/master/plugins/src/copypaste_advanced/index.js#L564

I would be happy if you could fix it.

Thanks.

GBonnaire commented 3 years ago

Hi,

Thank you. I have fixed that and have republished package.

Can you try ?

Thanks

hatsumihayashi commented 3 years ago

It's fixed! Thank you for fixing it so quickly!

GBonnaire commented 3 years ago

With pleasure 😊