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

Uncaught TypeError: $node.attr(...).tooltip is not a function #80

Open
rb162215 opened this issue Apr 24, 2020 · 4 comments
Open

Uncaught TypeError: $node.attr(...).tooltip is not a function #80

rb162215 opened this issue Apr 24, 2020 · 4 comments

Comments

@rb162215
Copy link

I am working on SummerNote mention library and getting error -

i am using "react-summernote": "^2.0.0"

react version - "react": "^16.8.6"

bootstrap - "bootstrap": "^4.4.1"

react-bootstrap - "react-bootstrap": "^1.0.1"

is there any help on this?

Screen Shot 2020-04-23 at 11 25 19 AM

@duypham90
Copy link

@rb162215
You just follow me add more library for resolve this problem. Or or you can visit my page to see the demo. Demo

$ yarn add popper.js

@abryant710
Copy link

abryant710 commented Dec 22, 2020

@Hong-Duy looks like your demo page has gone. Is there any other place I can access it?

@rb162215, did you find a solution?

@duypham90
Copy link

duypham90 commented Jan 24, 2021

@Hong-Duy looks like your demo page has gone. Is there any other place I can access it?

@rb162215, did you find a solution?

@abryant710
Sorry before that I make it private, I will publish it again.
Please see here:
Github
Demo

In my source, I have used two editor:

  • React Summer note
  • React Quill => this library is the better, I have written the Photo Manager Plugin you could find my srouce

Note:
Please comment out this code to make sure Editor work well

const handleEditorChange = (content: any, delta: any, source: any, editor: any) => {
    // IF we don't setState for editor, the value of editor will be lost after we click, change or have a new event make state change
    // setValueEditor(content)
    // console.log(content); // rich text
    // console.log(editor.getText()); // plain text
    // console.log(editor.getLength()); // number of characters
  }

@absalvamante
Copy link

Had the same problem. I installed specific bootstrap version 4.0.0 and it worked already.

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

4 participants