Opened 8 years ago
#16950 new Bug
Insertion of unwanted when you backspace and insert new text
Reported by: | Eric Amodio | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.6.2 |
Keywords: | Cc: |
Description
When deleting text and inserting a space (I think it needs to be multiline so that there are p tags), if you switch to the source view you will see an inserted for a single space between words that should not be there.
Steps to reproduce
To reproduce:
- Use the sample on http://sdk.ckeditor.com/samples/uicolor.html
- Put the cursor on the at the end of the was in the 2nd line
- Press backspace twice to delete the as in was
- Press the spacebar and then any letter (or word whatever)
- Switch to the source view and observe that an was inserted after the character (word) you inserted.
My uneducated guess is that this might happen because when you add that space there are 2 spaces next to each other, so the latter space gets turned into an (which would be correct if you stopped there), but then when you press the next letter separating the 2 spaces, the is persisted rather than changing back to a space
Expected result
A space should be inserted
Actual result
A is inserted
Other details (browser, OS, CKEditor version, installed plugins)
CKEditor 4.6.2 (Standard) (revision 580bcaf)
Chrome: 57.0.2987.133
macOS: Sierra 10.12.4