Custom plugin (Handsontable 9.0.1)

Tags: #<Tag:0x00007efc64f002a0>

Hello!

I’m trying to implement a custom plugin in Handsontable 9.0.1, I followed docs example, but I couldn’t make it work.

I made this sample:

Could you please point what am I doing wrong?

Thank you for your time

Hi @nathalia.pissuti,
Please use Handsontable.plugins.registerPlugin(CustomPlugin); to register CustomPlugin - if you would like to use import Handsontable from 'handsontable';
Alternatively, you can import Handsontable from 'handsontable/base'.
Here is a working demo: https://codesandbox.io/s/hot-plugin-forked-ozt0g?file=/src/hot.js

1 Like

Thank you for the answer!

I think it would be nice if docs were updated, because it is indicating to import like I did before.