Spacing before/after an inline element creates a non-breaking space
See original GitHub issueWhen spacing before/after an inline element, a
is erroneously produced instead of a normal space.
Minimal test case: http://fiddle.tinymce.com/F2faab/2
Only seems to affect Webkit-based browsers. Tested on the latest Chrome and Safari with the same results. Firefox is unaffected.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How can I use a non-breaking space before an inline-block ...
An answer there suggests using <nobr> or white-space: nowrap . However: I'm setting the <button> to display: inline , so I don't even ......
Read more >Fighting the Space Between Inline Block Elements | CSS-Tricks
A series of inline-block elements with "normal" HTML formatting result in spaces between them when set on the same line.
Read more >How to Create Extra Space in HTML or a Web Page
To create extra spaces before, after, or in-between your text, use the (non-breaking space) extended HTML character.
Read more >4 Easy Ways to Insert Spaces in HTML - HubSpot Blog
Learn how to insert multiple spaces in a row in HTML, how to add breaks between lines, and how to easily add whitespace...
Read more >  and HTML Space Challenges and Tricks | Mailtrap Blog
WordPress's Gutenberg editor offers an easy way of inserting non-breaking spaces into articles. Instead of a space, press Option+Space on Mac or ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I can confirm that this appears to be resolved. Thanks!
Hi,
I’m unable to reproduce this issue in TinyMCE 4.9.10 and 5.2.2 using the details provided. Testing older versions, it appears this issue was fixed in TinyMCE 4.9.0. As such I’m going to close this, however if you’re still experiencing issues then let us know and we’ll reopen this issue.
Thanks!