Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dasmikko/strapi-tiptap-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
dasmikko committed Mar 28, 2023
2 parents c0437a6 + f13319c commit b4204c7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ Luckily it's very easy to use. Just follow these instructions:
# Install the dependency
npm install strapi-tiptap-editor
# Add the following to the webpack config (/src/admin/webpack.config.js)
# This is due to tippy.js doesn't have an ES6 module, and a tiptap depencency imports it (thanks for the help @giu1io)
config.plugins.push(new webpack.NormalModuleReplacementPlugin(
/^tippy\.js$/,
'tippy.js/dist/tippy-bundle.umd.min.js'
))
# Build the Strapi Admin
npm run build
```
Expand Down

0 comments on commit b4204c7

Please sign in to comment.