Description
Description
A clear and concise description of what the bug is.
Slate inline link node is appearing next to text despite copying and pasting code from example.
Recording
A GIF or video showing the issue happening. (If you don't include this, there's a very good chance your issue will be closed, because it's much too hard to figure out exactly what is going wrong, and it makes maintenance much harder.)
Sandbox
A link to a sandbox where the error can be reproduced. (You can start from the base sandbox here: https://codesandbox.io/s/slate-reproductions-c7gyg or refer to the Slate website too.)
Reproduce sandbox: https://codesandbox.io/p/sandbox/slate-reproductions-forked-sq4gcf
Steps
To reproduce the behavior:
- Go to 'the sandbox'
- Click on 'add link'
- See error
Expectation
A clear and concise description of what you expected to happen. (Often it's helpful to test out the behavior of other editors like Google Docs, Medium, Notion, etc. to see how they handle the same issue.)
For text to be replaced by link
Environment
- Slate Version: [e.g. 0.59]
- Operating System: [e.g. iOS]
- Browser: [e.g. Chrome, Safari]
- TypeScript Version: [e.g. 3.9.7 - required only if it's a TypeScript issue]
Context
Add any other context about the problem here. (The fastest way to have an issue fixed is to create a pull request with working, tested code and we'll help merge it. Slate is solving a pretty complex problem, and we can't do it without active contributors, so thank you so much for your help!)