Opened 16 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 Wojciech Olchawa)

If I set FCKeditor.EditorDocument.designMode = 'on' ForcePasteAsPlainText does not work

Steps to reproduce

  1. 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>
  1. Contents of 'fckeditor/' folder are default. Except FCKConfig.ForcePasteAsPlainText = true ; in fckconfig.js
  1. 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 16 years ago by Wojciech Olchawa

Description: modified (diff)

just cleaned the description a little bit

comment:2 Changed 16 years ago by Wojciech Olchawa

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.

comment:3 Changed 11 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Expired.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy