<!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>
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?