Opened 17 years ago
Closed 11 years ago
#2256 closed Bug (fixed)
[IE] error when perfroming drag and drop with ForcePasteAsPlainText set to true
Reported by: | Alexey Zuev | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6 |
Keywords: | IE | Cc: |
Description
When I set ForsePasteAsPlainText to true and drag and drop some content from the page to FCKeditor I get the following error:
htmlfile: Incompatible markup pointers for this operation.
It happens in fckeditorcode_ie.js on the following line:
FCKDomRange.prototype.MoveToSelection=function(){ //... D.pasteHTML('<span id="'+E+'"></span>'); //error appears here //... }
text is inserted but it is styled.
Steps to reproduce:
- html-file:
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>FCKeditor - Sample</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="robots" content="noindex, nofollow"> <script type="text/javascript" src="fckeditor/fckeditor.js"></script> </head> <body> <form> <font color="Red">drag and drop me</font> <script type="text/javascript"> var oFCKeditor = new FCKeditor('FCKeditor1'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.Create(); </script> </form> </body> </html>
- contents of 'fckeditor/' is default.
Except, FCKConfig.ForcePasteAsPlainText = true ; in fckconfig.js
- Drag and drop 'drag and drop me' text to FCKeditor
Note: couple of times I've got "Paste as Plain Text Dialog" as a result. But in most times it was described error. I didn't notice regularity here.
Browser: IE 7.0.5730.11 OS: Windows XP with SP2
Change History (3)
comment:1 Changed 17 years ago by
Keywords: | Confirmed IE added |
---|
comment:2 Changed 17 years ago by
Summary: | IE7: error when perfroming drag and drop with ForcePasteAsPlainText set to true → [IE] error when perfroming drag and drop with ForcePasteAsPlainText set to true |
---|
Confirmed in IE6 and IE7 with FCKeditor 2.6 and the current SVN version. Works OK with FF2.