I’m trying to register a custom external plugin via Handsontable.plugins.registerPlugin, but the function doesn’t seem to be defined. If I put a breakpoint at this line in handsontable.full.js (1.0.0-beta3):
Handsontable.plugins.registerPlugin = registerPlugin;
Then I can see immediately after that line that registerPlugin is defined. At that point, Handsontable.plugins looks something like:
{
utils: {},
registerPlugin: function registerPlugin(pluginName, PluginClass)
}
But when my plugin tries to register (later in the program flow), Handsontable.plugins looks like:
{
AutoColumnSize: function AutoColumnSize(hotInstance),
// ...
// A bunch more plugin functions, none of which is registerPlugin
// ...
utils: {}
}
Am I doing something wrong, or missing something?