Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    The 5 years old reference post seems to be resolved. Non-breaking spaces are inserted by your browser, usually when you type 2 or more spaces.

    In any case, this cannot be changed by TinyMCE Advanced. The extra &nbsp can probably be removed, however there is no good way to determine whether the user inserted them or the browser auto-inserted them.

    Thread Starter Aaron_PN

    (@aaron_pn)

    Thanks for the response.

    Where are you seeing that it is resolved? The OP is not saying the problem went away, merely that he had to copy and paste all his posts in notepad, then paste it back into the visual editor for the random line breaks to go away. I’ve searched extensively on Google for a resolution, I don’t see one anywhere.

    I’m using the latest version (Version 44) of Google Chrome. I don’t double space, ever. The visual editor doesn’t show that anything is double-spaced, but when I click on “show invisible characters” I can see little grey blocks in-between paragraph text. I certainly didn’t put those there, they just spontaneously show up as I am writing a post.

    I think you are saying those little grey blocks are being inserted by my browser. If that is the case, how do I turn them off? Or am I screwed?

    Thread Starter Aaron_PN

    (@aaron_pn)

    This seems to be related, although I don’t recall copying anything from a PDF:

    http://stackoverflow.com/questions/17678105/chrome-adds-non-breaking-space-in-text-copied-from-pdf-and-pasted-to-tinymce

    Plugin Author Andrew Ozz

    (@azaozz)

    As far as I’ve seen WebKit and specifically Chrome add many things that are not needed. On pasting HTML they wraps the text in spans with tons of inline styles, making it look bad and impossible to style (TinyMCE tries to remove all of them). I’m not sure why they do that. Tried asking and got no answer.

    Something similar (but to a lesser extend) seems to happen with all the nbsp.

    These “features” cannot be disabled. Try using another browser?

    Thread Starter Aaron_PN

    (@aaron_pn)

    I wanted to see if this only happened when copy and pasting. Turns out it doesn’t; it happens when I open a new post and merely begin typing.

    Where did you ask? Chrome is an awesome browser, this shouldn’t be happening for 5 years. I’m gonna go make a stink about it.

    Plugin Author Andrew Ozz

    (@azaozz)

    > Where did you ask?
    In #webkit on freenode IRC.

    Also opened a ticket for Chromium, specifically for when inserting lists: https://code.google.com/p/chromium/issues/detail?id=335955.
    Reduced example: http://jsfiddle.net/eWsGv/6/. Test in Chrome, then test in Firefox for a comparisom 🙂

    Maybe try making an example for the &nbsp on JSFiddle and then open another bug for Chromium 🙂

    I’m having this same problem and also using Chrome. My posts are littered with inappropriate line breaks. Very time consuming to remove them all!!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Bug: inappropriate line breaking’ is closed to new replies.