letranloc / draft-js-katex-plugin

A Katex plugin for DraftJS.
https://letranloc.github.io/draft-js-katex-plugin?down=0
32 stars 14 forks source link

this.updater.enqueueCallback is not a function #1

Open Radivarig opened 7 years ago

Radivarig commented 7 years ago

After clicking the textarea popup inserted by the demo button I get this:

this.updater.enqueueCallback is not a function
    at TeXBlock.ReactComponent.setState (ReactBaseClasses.js:66)
    at TeXBlock._this.onClick (TeXBlock.js:48)
    "draft-js": "^0.10.1",
    "draft-js-katex-plugin": "^1.0.0",
    "draft-js-plugins-editor": "^2.0.0-rc5",
    "react": "^16.0.0-beta.5",
letranloc commented 7 years ago

Current this plugin works fine with React 15 (same React version of draft-js-plugins). Will investigate it when I have more time. Thanks!