-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raw handling: fix pasting special spaces #28077
Conversation
Size Change: +374 B (0%) Total Size: 1.4 MB
ℹ️ View Unchanged
|
6eb1ea1
to
82c2e62
Compare
I followed the steps in #15649 (comment) and am still seeing the issue where pasting a thin space into the editor does nothing. |
@noisysocks Could you share what's logged in the console after pasting the thin space in Gutenberg? |
I get this:
I confirmed that there's a thin space in there by copy and pasting some of the output to
The last 3 bytes there are the UTF-8 encoding of a thin space (U+2009). |
Ok, so your thin space is in plain text? |
@noisysocks Thanks, that was helpful. The markdown converter is stripping that whitespace, so I made it skip if the plain text is just whitespace. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed! 🎉
Description
Fixes #15649.
How has this been tested?
Screenshots
Types of changes
Checklist: