Opened 10 years ago
Last modified 9 years ago
#13125 confirmed Bug
FF Only - The space after a contenteditable element is ignored when backspacing
Reported by: | Christophe Guillou | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.3 |
Keywords: | Firefox IE | Cc: | ChrisGui@…, irinauru@… |
Description
We found an issue in 4.4.x version where in ACF mode, we observe unexpected behaviour when we attempt deleting a white space character following a contenteditable=false span tag.
To reproduce the defect, use the following config:
CKEDITOR.editorConfig = function( config ) {
ACF configs config.allowedContent = true; turn off ACF by default
};
Open Firebug for you test sample page
- In the console: CKEDITOR.instances.editor1.setData('Hey <span contenteditable="false"><a>there</a></span> :)')
(Notice here the space following the closing of the span tag and before colon character eg. "</span> :"
- Click on the editor (caret is at the end of the line) and start removing characters using backspace until you reach ':' and click backspace again to remove it.
- Hit backspace again-> the cursor goes inside the contenteditable area skipping the empty space
Change History (4)
comment:1 Changed 10 years ago by
Cc: | ChrisGui@… added |
---|
comment:2 Changed 10 years ago by
Status: | new → confirmed |
---|---|
Version: | → 4.3 |
comment:3 Changed 10 years ago by
Keywords: | Firefox IE added |
---|
comment:4 Changed 9 years ago by
Cc: | irinauru@… added |
---|
Problem can be reproduced from CKEditor 4.3 in Firefox and IE. I haven't been able to reproduce it in Blink or Webkit.
NOTE: in earlier versions cursor disappears but white space is removed. Starting from CKE 4.3, backspace moves focus to span what is shown nicely with elements path.