You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slate currently renders data-slate-zero-width elements with UTF8 BOM character inside in Chrome
This is very annoying for users copying, for example, links text from Slate, as BOM character is inserted after the link.
Repoduction:
https://www.slatejs.org/#/links
Delete preset content Add a link paste a link over some text
UTF8 BOM  (\xEF\xBB\xBF or ) appears after the link
What's the expected behavior?
Content copied from Slate does not contain garbage characters
The text was updated successfully, but these errors were encountered:
I think for most uses this is NOT zero-width space (which seems to be the intended character), and even a correct-to-use invisible character should not be present in copied content.
Hey, thanks for reporting this. I think this is actually a duplicate of #2597, so I'm going to close this in favor of that one. Feel free to comment over there with any other info!
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
Slate currently renders data-slate-zero-width elements with UTF8 BOM character inside in Chrome
This is very annoying for users copying, for example, links text from Slate, as BOM character is inserted after the link.
Repoduction:
https://www.slatejs.org/#/links
Delete preset content
Add a linkpaste a link over some textUTF8 BOM

(\xEF\xBB\xBF
or
) appears after the linkWhat's the expected behavior?
Content copied from Slate does not contain garbage characters
The text was updated successfully, but these errors were encountered: