Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Paste and Match Style / Paste without Formatting is not properly handed by Slate #3414
Do you want to request a feature or report a bug?
Report a bug.
What's the current behavior?
Right now if you try to use Paste without Formatting (a.k.a. Patch and Match Style) in Slate it results in a successful paste of content which is not managed by Slate - you can either not remove it, or it gets removed entirely when you start typing anything (browser-dependent). This is caused by lack of
Here is the bug in action: https://v.usetapes.com/gXVeb5sv64
Browsers: macOS Chrome, macOS Firefox, macOS Safari. I'm pretty sure all supported browsers are exhibiting this behaviour.
What's the expected behavior?
Paste without Formatting / Paste and Match Style pastes proper text nodes that can be edited by users.
I've created a pull request solving this issue. Since