In FCK 2.x I had FCKConfig.ForcePasteAsPlainText = true ; which remved all formating from Word text, with 3.6.3 I have:
config.ForcePasteAsPlainText = true;
config.pasteFromWordPromptCleanup = true;
config.pasteFromWordRemoveFontStyles = true;
config.pasteFromWordRemoveStyles = true;
but still if I copy some bolded text from Word it goes in bold (on IE and Chrome) if I paste using Ctrl V - it cleans it up OK using the PasteText button, but I know the site users will user Ctrl V....
---
EDIT - this was a problem with my FF.
Hi, further to my post in the FCK 2.x forum, I decided to try to fix that issue by upgrading to the current editor.
Problem in FF11 on Win XP is that I cannot fucus or type or paste into the text area - it seems to be in read only mode.
If I preload some text, I can apply styles to it etc, but not paste or type. No errors detected by Firebug (which I disabled to see if that caused the problem).
This is my third day working on this problem (including the 2.x issue) and I really cannot afford any more time on this, I hope someone can help please.
-----------
Thanks,
Kevin
HTML :-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Admin Menu</title> <script type="text/javascript" src="/admin/ckeditor/ckeditor.js"></script> </head> <body> <form method="POST" id="edit_frag_form" action="LIGHTBOX_add_fragment.php"> <textarea id="free_text_1" name="free_text_1"></textarea> <script type="text/javascript"> CKEDITOR.replace( 'free_text_1' , { basePath : '/admin/ckeditor/', }); </script>
<center><input type="submit" value="----- Enter content -----" class="admin-editbut"></center>
</form>
</body>
</html>
config.js:-
CKEDITOR.editorConfig = function( config ) { config.toolbar = 'SolCMS'; config.toolbar_SolCMS = [ { name: 'clipboard', items : [ 'PasteText','SelectAll','RemoveFormat', '-','Undo','Redo'] }, { name: 'dropdownstyles', items : [ 'Styles'] }, { name: 'misc', items : [ 'Table','HorizontalRule' ] }, { name: 'tools', items : [ 'Maximize', 'Source', '-','About' ] }, '/', { name: 'basicstyles', items : [ 'Bold','Italic','Underline','Strike','Subscript','Superscript','-', ] }, { name: 'paragraph', items : [ 'NumberedList','BulletedList','-','Blockquote', '-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ] }, { name: 'links', items : [ 'Link','Unlink'] } ]; config.ForcePasteAsPlainText = true; config.pasteFromWordPromptCleanup = true; config.pasteFromWordRemoveFontStyles = true; config.pasteFromWordRemoveStyles = true; config.readOnly = false; config.stylesSet = 'my_styles:/admin/ckeditor/styles_dropdown.js'; config.contentsCss = '/newdesign/CKstyle.css'; };
Re: Seems to be in read only mode in FF / paste plain text
My query regarding forcing paste as plain text is still valid though if anyone has any ideas?