Safari ignores nbsp in visual mode
Are you reporting a feature or a bug?
Bug
Provide detailed reproduction steps (if any)
- Open latest demo ( http://nightly.ckeditor.com/17-07-28-06-04/standard/samples/ )
- Use
in source mode You can use source like that:
<p>Word and word and word and word and word and word and word and word and word and word</p>
<p>Word and word and word and word and word and word and word and word and word and word</p>
- Switch to visual mode
- Resize browser window so that lines begin to wrap
Expected result
Browser should respect non-breaking spaces and word wrapping should work differently on first and second paragraph, like that: (chrome 60)

Actual result
Safari does not respect non-breaking spaces and result looks like that:

Other details
- Browser: Safari 10.1.2 (10603.3.8)
- OS: OS X 10.10.5
and
-
Browser: Safari 9.0.2 (11601.3.9)
-
OS: OS X 10.11.2
-
CKEditor version: 4.6.1, 4.7.1, current nightly demo (17-07-28-06-04)
I was able to confirm it. Here works fine on Safari: https://jsfiddle.net/e46x7of9/1/ Problem seems to be related to editor.
For me https://jsfiddle.net/e46x7of9/1/ Or my more clearly visible https://jsfiddle.net/w0qcLprg/ Does not work in Safari version 14.0 (15610.1.28.1.9, 15610)
So I would say, it is browser's problem. At least now. But I don't know, how and where it can be reported.
Hi @hamusi, thank you for reaching us and providing the demos - the fact that issue is reproducible in the basic contenteditable element shows that it's indeed a browser problem, not editor.
As for the further steps - there is Safari issue tracker. Could you report an issue there and post the link to it here so that we could track it?
As it turned out to be the browser issue, I'm closing this ticket.
I'll try to. Just want mention, that we found, that using style="-webkit-nbsp-mode: normal" helps in safari.
Thanks for pointing me to Bugzilla And I see 2 reports about that already: https://bugs.webkit.org/show_bug.cgi?id=38902 https://bugs.webkit.org/show_bug.cgi?id=12828