#2269: IE7: ForcePasteAsPlainText does not work after setting
FCKeditor.EditorDocument.designMode to 'on'
---------------------------+------------------------------------------------
Reporter: Madferit | Type: Bug
Status: new | Priority: Normal
Milestone: | Component: General
Version: FCKeditor 2.6 | Keywords:
---------------------------+------------------------------------------------
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>
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
}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/2269>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac