plate
plate copied to clipboard
App crashes with error after editing link in a certain rich text
Description
In a certain rich text scenario, where a link is inside ul li element, the app crashes with an error:
Cannot get the end point in the node at path [1] because it has no end text node.
Steps
- Go to codesandbox demo
- Click on "and try plate" link
- Type any link
http://something.comin the floating link editor - Press Enter
Sandbox
https://codesandbox.io/s/sandpack-project-forked-gljxt3?file=/link/linkValue.tsx
Environment
- slate: 0.78.0
- slate-react: 0.79.0
- browser: chrome