Skip to content
This repository has been archived by the owner on Nov 4, 2021. It is now read-only.

problems trying to insert link into image #82

Open
igr-santos opened this issue May 21, 2019 · 0 comments
Open

problems trying to insert link into image #82

igr-santos opened this issue May 21, 2019 · 0 comments
Assignees
Labels

Comments

@igr-santos
Copy link
Contributor

Do you want to request a feature or report a bug?
bug

What's the current behavior?
When I move the cursor around an image, I get an error and my application crashes.

Error: Unable to find a DOM node for "1320". This is often because of forgetting to add `props.attributes` to a custom component.
  at findDOMNode$1 (../node_modules/slate-editor/node_modules/slate-react/lib/slate-react.es.js:1122:1)
  at findDOMPoint (../node_modules/slate-editor/node_modules/slate-react/lib/slate-react.es.js:1138:1)
  at findDOMRange (../node_modules/slate-editor/node_modules/slate-react/lib/slate-react.es.js:1179:1)
  at updateSelection (../node_modules/slate-editor/node_modules/slate-react/lib/slate-react.es.js:1663:1)
  at componentDidUpdate (../node_modules/slate-editor/node_modules/slate-react/lib/slate-react.es.js:1836:1)
...
(6 additional frame(s) were not displayed)

What's the expected behavior?
It should be possible to move the cursor between any element / plugin that is inserted in the Editor

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

No branches or pull requests

1 participant