Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with jquery #129

Open
USchneid opened this issue Aug 4, 2021 · 2 comments
Open

Problems with jquery #129

USchneid opened this issue Aug 4, 2021 · 2 comments

Comments

@USchneid
Copy link

USchneid commented Aug 4, 2021

Hello, I would like to try to create a component from the react summernote component. I add

"react-summernote": "^2.0.2"
"jquery":"^3.6.0"

to the dependency and the npm run build is executed without a problem. As soon as I put the
import ReactSummernote from 'react-summernote' element to the ... react.js file, the

ERROR in ./node_modules/react-summernote/dist/react-summernote.js
Module not found: Error: Can't resolve 'jquery' in 'node_modules\react-summernote\dist'
@ ./node_modules/react-summernote/dist/react-summernote.js 3:27-44
 @ ./src/lib/components/editor.react.js
 @ ./src/lib/index.js

Does anybody else have problems using jquery?

@xhluca
Copy link

xhluca commented Aug 16, 2021

How did you add jquery? have you run:

npm i jquery
npm run build

@Glyphman
Copy link

Hi, for get the best out of my Summernote installation I have to use jquery-1.12.4. If I use later the menu starts to be disfunctional. I use the latest installation of Summernote. For now I have only instabillity in the fonts installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants