question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spacing before/after an inline element creates a non-breaking space

See original GitHub issue

When 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:closed
  • Created 7 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
claviskacommented, May 8, 2020

I can confirm that this appears to be resolved. Thanks!

1reaction
lnewsoncommented, May 8, 2020

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!

Read more comments on GitHub >

github_iconTop 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 >
&nbsp 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found