Opened 17 years ago
Closed 11 years ago
#2269 closed Bug (fixed)
[IE] ForcePasteAsPlainText does not work after setting FCKeditor.EditorDocument.designMode to 'on'
Reported by: | Alexey Zuev | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | FCKeditor 2.6 |
Keywords: | IE | Cc: |
Description (last modified by )
If I set FCKeditor.EditorDocument.designMode = 'on' ForcePasteAsPlainText does not work
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> <font color="Red">Copy & paste me</font> <script type="text/javascript"> var oFCKeditor = new FCKeditor('FCKeditor1'); oFCKeditor.BasePath = "fckeditor/"; oFCKeditor.Create(); function FCKeditor_OnComplete(editorInstance) { editorInstance.EditorDocument.designMode = 'on'; } </script> </body> </html>
- Contents of 'fckeditor/' folder are default. Except
FCKConfig.ForcePasteAsPlainText = true ;
in fckconfig.js
- Copy & paste 'Copy & paste me text' - it is styled. Not plain text as expected
Note: I use FCKeditor.EditorDocument.designMode to make editor readonly and editable.
Browser: 7.0.5730.11 FCKeditor: 2.6
Change History (3)
comment:1 Changed 17 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 17 years ago by
Keywords: | Confirmed IE added |
---|---|
Summary: | IE7: ForcePasteAsPlainText does not work after setting FCKeditor.EditorDocument.designMode to 'on' → [IE] ForcePasteAsPlainText does not work after setting FCKeditor.EditorDocument.designMode to 'on' |
Confirmed in IE6 and IE7 using FCKeditor 2.6 and the latest SVN version.
just cleaned the description a little bit