Opened 11 years ago

Last modified 11 years ago

#11024 closed Bug

Unwanted &nbsp entities should automatically be removed — at Initial Version

Reported by: sirtet Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: WebKit Blink Cc:

Description

There are many ways how unwanted nobreak spaces are created, eg. by typing 2 spaces and then deleting the regular space (50/50 chance), or after removing a word from a sentence, you get 2 connected spaces, of which one will be a no break space.

This can quickly lead to text, that does not fit the container anymore.

In in FCK Editor Version 2.6.4.1 Build 23187 there was a fix for that (deleting one of 2 neighbouring spaces will always remove the entity), see http://ckeditor.com/comment/128598#comment-128598

Re-implementing the old behaviour, would not solve all issues of that kind, but be a big help already.

Besides re-implementing the old behaviour, i'd suggest a filter, that replaces all nbsp's with a element, that shows the presence of the nbsp with a visible placeholder. Not sure if such a thing would be possible.

One could argue this is not a bug but normal browser behaviour, and therefore should be a feature request at best. But since the behaviour is not what most users (content editors) will expect, i strongly think this IS a BUG.

Change History (0)

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy