Issue #5167Opened June 6, 2023by KevenDvorianoff0 reactions

BUG: usePlugin is not a function

Question

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

All

Reproducible demo link

None

Describe the bug

Following the documentation on creating a plugin with the usage of typescript and using the "usePlugin" function to import the plugin into the editor, the browser displays the following error :

TypeError: g.usePlugin is not a function

It seems that the function declaration is not in the minified js of the node module dist.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Answers (1)

sneddobuildsJune 7, 20230 reactions

Getting the same issue.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.