Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/custom-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,4 +535,4 @@ MyCustomPlugin.translations = {
},
};
```
:::
:::
4 changes: 3 additions & 1 deletion src/HyperFormula.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,9 @@ export class HyperFormula implements TypedEmitter {
/**
* Registers all functions in a given plugin with optional translations.
*
* Note: This method does not affect the existing HyperFormula instances.
* Note: FunctionPlugins must be registered prior to the creation of HyperFormula instances in which they are used.
* HyperFormula instances created prior to the registration of a FunctionPlugin are unable to access the FunctionPlugin.
* Registering a FunctionPlugin with [[custom-functions]] requires the translations parameter.
*
* @param {FunctionPluginDefinition} plugin - plugin class
* @param {FunctionTranslationsPackage} translations - optional package of function names translations
Expand Down