Skip to content
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

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

Closed
claviska opened this issue Jul 11, 2016 · 5 comments
Closed

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

claviska opened this issue Jul 11, 2016 · 5 comments

Comments

@claviska
Copy link

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.

@claviska
Copy link
Author

Tested on the latest Chrome update (52.0.2743.116) and the bug still exists. Has it been verified? I've noticed this behavior in apps other than my own too.

If this is a TinyMCE issue, any pointers as to where one would look? I'm thinking it might actually be a Chrome bug.

@Shoplifter
Copy link

Shoplifter commented Nov 3, 2016

👍 I have the same issue on Chrome (54.0.2840.71), Firefox (49.0.2), Opera (41.0) and IE Edge (25.10586.0.0). So rather ubiquitous.
Non-breaking spaces   are a serious issue in our application - we´re using those for finetuning line breaks in for pdf output with wkhtml2pdf (which doesnt supprt ­).

I am on Windows 10 and use tinymce 4.4.3 in inline mode

@claviska
Copy link
Author

claviska commented Mar 3, 2017

@Shoplifter are you sure you're not seeing the   characters that were left over after saving in Chrome? I can't seem to replicate this in Firefox, but the issue still occurs in Chrome.

And, of course, it also affects WordPress. 🤷‍♂️

@lnewson
Copy link
Contributor

lnewson commented 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!

@lnewson lnewson closed this as completed May 8, 2020
@claviska
Copy link
Author

claviska commented May 8, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants