You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 6, 2023. It is now read-only.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
The tex example doesn't work, generates javascript errors
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Checkout repo at d2a3ae
Follow instructions in examples/draft-0-10-0/tex/readme.md
Open chrome at localhost:3000
Put cursor at the end of the first line and press Backspace
You see this error in Chrome (and it doesn't delete the character);
Uncaught Error: Unable to find node on an unmounted component.
at invariant (app.js:12062)
at Object.findDOMNode (app.js:35151)
at DraftEditorTextNode.shouldComponentUpdate (app.js:19200)
at app.js:76800
at measureLifeCyclePerf (app.js:76251)
at ReactCompositeComponentWrapper.updateComponent (app.js:76799)
at ReactCompositeComponentWrapper.receiveComponent (app.js:76722)
at Object.receiveComponent (app.js:69007)
at Object.updateChildren (app.js:75997)
at ReactDOMComponent._reconcilerUpdateChildren (app.js:75550)
What is the expected behavior?
Deletes the character
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
Head of master - d2a3ae
MacOS
I tried it in the v0.10.5 release but I couldn't build the example - it gets sh: babel-node: command not found