Closed Clex1o1 closed 1 year ago
I can't seem to seem figure out why this happens. It could be an issue with strapis webpack setup.
Try adding this to your strapi webpack.config.js as in mentioned in this issue: https://github.com/dasmikko/strapi-tiptap-editor/issues/64#issuecomment-1451876909
config.plugins.push(new webpack.NormalModuleReplacementPlugin(
/^tippy\.js$/,
'tippy.js/dist/tippy-bundle.umd.min.js'
))
Please reopen if still an issue.
Try adding this to your strapi webpack.config.js as in mentioned in this issue: #64 (comment)
config.plugins.push(new webpack.NormalModuleReplacementPlugin( /^tippy\.js$/, 'tippy.js/dist/tippy-bundle.umd.min.js' ))
this works for me! thank you!
Hello installed the tiptap plugin into my alomost fresh strapi: Node 18 Strapi 4.6.1 and strapi-tiptap-editor 0.9.10. If I click inside a editor field I get this error message:
Object is not a function (near '...tippy_js__WEBPACK_IMPORTED_MODULE_2__...')
I start strapi with
strapi build --no-optimization && strapi develop --watch-admin
for better debugging. I can see error in webpacked files then.Any ideas?