-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Button Block: Adding spaces when typing button text does not work #14914
Comments
It seems to work properly in Chrome but break in Firefox. Is this rich text related cc @ellatrix . This would be good to fix for 5.2 |
It seems that #10565 caused the problem. If you remove |
So, this issue has been around for 6 months? |
I'm also not sure if using |
How can you edit the text content if the content is trimmed? |
Sorry about that!
Incidentally I was just testing this PR by @talldan: #10128 (comment) — and this appears to change that rule and incidentally fix this. Correct?
Here's the full bit.
That was the purpose of the PR: to fix the problem with the button block in the variation preview, and nowhere else. That's why it's scoped to be inside |
@jasmussen What's "variation preview"? Why does it only need to trimmed there? |
This comment doesn't explain why. And no worries, I should have added |
Describe the bug
When typing the text on a button, adding spaces between the words doesn't initially work. Going back to add the spaces later does work though.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that when adding spaces between the text, it remains.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: