Opened 13 years ago
Last modified 12 years ago
#9132 closed Bug
IE6-8 JS error thrown when pasting with dialog — at Version 4
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.6.5 |
Component: | Core : Pasting | Version: | 3.6.2 |
Keywords: | IE IBM | Cc: | monahant@…, satya_minnekanti@… |
Description (last modified by )
I have found it when checking #8849 and #9127.
To reproduce:
- Load the "replacebyclass" sample (important);
- Select first line and copy/paste it. You should have 7 lines.
- Select the bold text "sample text" in third line from the bottom;
- Press Tab key to move focus outside of editor;
- Click on "Paste" toolbar button; choose to deny clipboard access in order to bring up dialog.
- Fill in the dialog with some text "abc" then click on Ok
Result: The above TC produces JS error:
Message: Invalid argument.
Line: 938
URI: /ckeditor/_source/plugins/selection/plugin.js
It has been reproducible (IE6-8) from rev. [7239] to [7382]; got fixed in [7383] and showed up again from [7447] to [7517]; got fixed in [7518] and now has been reproducible from CKEditor [7560]
Guys, Please use CRTL+F5 or clear cache from time to time if you have problems with reproducing.
Change History (5)
Changed 13 years ago by
Attachment: | 2012-07-13_0858.swf added |
---|
comment:1 Changed 13 years ago by
Status: | new → confirmed |
---|
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Note: in 3.6.3 I'm getting exactly the same error in the same part of code (the line number is a bit different but it's exactly the same place):
if ( sibling.nodeType == CKEDITOR.NODE_TEXT ) { container = sibling; distance -= sibling.nodeValue.length; // <---------------- }
comment:4 Changed 13 years ago by
Description: | modified (diff) |
---|
Simplified TC (there is no need to create 7 lines), can be constantly reproduced in IE6: