One of our content providers just reported that their long post title wasn't wrapping lines on mobile. Looking at it, we saw in between each word of the title. She had unknowingly pasted in something like "My Post Title". As a result, it wouldn't wrap lines (among other problems).
I'm not actually sure how this should best be handled, but the current implementation is very confusing for someone. There's really no way for her to know that the problem existed. Perhaps it should be rendering the entity in the title in the editor?
Step-by-step reproduction instructions
Copy My Post Title and Paste it into a Post Title
Note how is invisible in the editor, even if you switch to code view
Publish the post, and view it. Notice how it looks like normal spaces.
View the source and see how it actually contains in between each word.
Edit the post, and see that you still cannot tell is there
Go to your All Posts screen, and see that you STILL can't tell that is there.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.7-RC-2, no Gutenberg Plugin. (Also confirmed on 6.6.2, no Gutenberg)
Please confirm that you have searched existing issues in the repo.
[x] Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
[x] Yes
Please confirm which theme type you used for testing.
Description
One of our content providers just reported that their long post title wasn't wrapping lines on mobile. Looking at it, we saw
in between each word of the title. She had unknowingly pasted in something like "My Post Title
". As a result, it wouldn't wrap lines (among other problems).I'm not actually sure how this should best be handled, but the current implementation is very confusing for someone. There's really no way for her to know that the problem existed. Perhaps it should be rendering the entity in the title in the editor?
Step-by-step reproduction instructions
My Post Title
and Paste it into a Post Title
is invisible in the editor, even if you switch to code view
in between each word.
is there
is there.Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.7-RC-2, no Gutenberg Plugin. (Also confirmed on 6.6.2, no Gutenberg)
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.