Opened 10 years ago
Closed 8 years ago
#13096 closed Bug (fixed)
Another CKEditor Exception in Firefox
Reported by: | Alan | Owned by: | Mateusz Samsel |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Keystrokes | Version: | 4.0 Beta |
Keywords: | Firefox | Cc: |
Description
I filed bug #13020 a couple weeks ago explaining that we're seeing lots of CKEditor exceptions in our code. Here's a second one that we've been able to reproduce in jsfiddle. I will also attached a video.
To demonstrate the bug go to: http://jsfiddle.net/ftey46fc/14/
1) Type 'test' in the editor 2) Click to the left of 'test' between it and the border. About half
way works fine. (You can basically click anywhere in the 'padding' between the editor's content and the word e.g. you can click above it too.
3) Press the 'Delete' or 'Backspace' key.
The Video is viewable here: http://youtu.be/QNjrwfnpGwI
Video timeline:
0:00 - Show URL 0:08 - Show current console messages (e.g. that the exception has not happened yet) 0:14 - Show that we are in fact at the end of the console log (no hidden messages) 0:22 - Show Firefox version 0:32 - Type 'test' in the editor 0:39 - Click to the left of the word 'test' 0:42 - Show that the exception has not happened yet 0:46 - Press 'Delete' key 0:50 - Exception 'h is undefined' triggered
Attachments (1)
Change History (7)
comment:1 Changed 10 years ago by
comment:2 Changed 10 years ago by
Keywords: | exception CSS removed |
---|---|
Status: | new → confirmed |
Version: | 4.4.7 → 4.0 Beta |
Problem can be reproduced from CKEditor 4.0 beta and doesn't occur when you remove 'position: absolute;'
from inserted CSS.
Changed 10 years ago by
Attachment: | replacebycode4.html added |
---|
comment:3 Changed 8 years ago by
Owner: | set to Mateusz Samsel |
---|---|
Status: | confirmed → assigned |
comment:4 Changed 8 years ago by
Status: | assigned → review |
---|
comment:5 Changed 8 years ago by
Enter
key issue is treat as separate case and it's handled in ticket #16874.
comment:6 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | review → closed |
Fixed in ckeditor/ckeditor-dev/issues/457.
Note: You can also press Enter instead of backspace/delete and generate a different 'elementPath(...) is null' exception. Of course, it's all really the same thing (the browser's current selection has no ranges).