slate
slate copied to clipboard
Shadow DOM example is not working correctly
Description Shadow dom example is not working properly. https://www.slatejs.org/examples/shadow-dom
Recording
Sandbox https://www.slatejs.org/examples/shadow-dom
Steps To reproduce the behavior:
- Go to: https://www.slatejs.org/examples/shadow-dom
- Try adding text at the beginning (we can only add 1 letter)
- Try adding "Space" within the text (no space added)
- Try to modify the text. (the text is not modified)
- Try changing the text at the end (the text is deleted and the Slate example is broken)
Expectation We can modify, change text
Environment
- chrome, Microsoft Edge, Firefox
Seemingly all I need to do to make it break is add a space and then a dot. " ." and it will break.
In the last example of the recording i add " f f f ." and it breaks on the "." again
Seemingly all I need to do to make it break is add a space and then a dot. " ." and it will break.
In the last example of the recording i add " f f f ." and it breaks on the "." again
I noticed the same thing, but with any number or special character after a space.
Additionally, quickly typing "asdf" repeatedly will cause the same behavior.
is there any progress here? 👀