Automatic word wrap next to a link not working


#1

Hi forum!

The automatic word wrap seems a bit confused when there is a link (a-class) in a text paragraph.
It looks like it does not allow a line break right before or after the link.

See the word group “untenstehende Kontaktformular am” in the screenshoot below:

Any way to get around this?


#2

This appears to be a bug maybe? The text anchor tag is being padded by non-breaking spaces &nbsp on each side. @Norm is this by design?


#3

Yes, but not my design. This function uses a basic browser call document.execCommand("insertHTML" to apply the link to the selected text. Blocs has no control over how the text is wrapped in those non-breaking spaces. I could manually scan the text and replace and none breaking spaces but then some may want them.