0

I am using the same code as in slate's documentation (https://github.com/ianstormtaylor/slate/blob/master/site/examples/images.tsx), however, when I open the prompt and close it a small div appears below your cursor and when I click it the app crashes and I receive error "Unhandled Rejection (Error): Cannot resolve a DOM point from Slate point: {"path":[3,0],"offset":1}". Here is a live example from their documentation: https://www.slatejs.org/examples/images Notice that when you choose close there is small white space appearing. How do you come around this behavior?

4

0 回答 0