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
In responsive design we have no control about the position of line breaks in paragraphs. That's OK in most situations, but could be a big problem in situations with related terms like:
Price of 500,- $
=> Price of 500,-
$
WordPress Version 6.2
=> WordPress Version
6.2
Mr. Mullenweg
=> Mr.
Mullenweg
Duration: 20 seconds
=> Duration: 20
seconds
=> lacking information in the first line + starting information in the new line lacks context
What is your proposed solution?
Connecting what should not be separated is no miracle, as it is an HTML standard from start: Using "No-break-space" and (more rarely but also important) "No-break-hyphen"
I know, there are workarounds with some Plugins or inserting Unicode, but such a function is not a "nice to have", but viable to get correct Text-information in every case in responsive design!
If Gutenberg stands for all needed basic editing operations, it needs the possibility of inserting "No-break-space" and "No-break-hyphen" by default.
It can be positioned in block toolbar => "More" => ...
Thanks for the detailed examples! Non-breaking spaces can now be inserted with Ctrl+Shift+Space (#43150, Option+Space on macOS), and #74040 makes them visible in the editor so they're easy to spot. A dedicated toolbar button was discussed in #31401 and closed as plugin territory, so I'm closing this one too. If the no-break hyphen comes up as a real need on its own, feel free to open a focused issue for it.
Activity
mrfoxtalbot commentedon Feb 20, 2023
This is a good idea. I think we could easily add this to the "Options" dropdown, alongside inline code, and other inline styles.
youknowriad commentedon Oct 12, 2026
Thanks for the detailed examples! Non-breaking spaces can now be inserted with Ctrl+Shift+Space (#43150, Option+Space on macOS), and #74040 makes them visible in the editor so they're easy to spot. A dedicated toolbar button was discussed in #31401 and closed as plugin territory, so I'm closing this one too. If the no-break hyphen comes up as a real need on its own, feel free to open a focused issue for it.