Opened 17 years ago
Last modified 12 years ago
#2269 closed Bug
IE7: ForcePasteAsPlainText does not work after setting FCKeditor.EditorDocument.designMode to 'on' — at Initial Version
| Reported by: | Alexey Zuev | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | FCKeditor 2.6 |
| Keywords: | IE | Cc: |
Description
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>
2. Contents of 'fckeditor/' folder are default. Except FCKConfig.ForcePasteAsPlainText = true ; in fckconfig.js
3. 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
