<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
include_once "ckeditor/ckeditor.php";
// Create a class instance.
$CKEditor = new CKEditor();
// Path to the CKEditor directory.
$CKEditor->basePath = 'ckeditor/';
// Dimensions
$CKEditor->config['height'] = 600;
$CKEditor->config['width'] = 745;
// removed auto <p> tags
//$CKEditor->config['enterMode'] = 2;
$CKEditor->config['extraPlugins'] = 'youtube,custform';
// Configuration , maybe use 'Template' in future
$config['toolbar'] = array(
array( 'Source' ),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ),
array( 'Find','Replace','-','SelectAll','-','SpellChecker' ),
array( 'Format','Font','FontSize','TextColor','BGColor' ), '/',
array( 'Bold', 'Italic', 'Underline', '-','RemoveFormat' ),
array( 'NumberedList','BulletedList','-','Outdent','Indent','-','Blockquote','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock' ),
array( 'Link','Unlink','Anchor' ),
array( 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Iframe','Youtube','Custform' )
);
$CKEditor->editor("editor1", $contents, $config);
Wed, 02/08/2012 - 21:07
#1

SOLVED: ckeditor with PHP and IE9 compatibility view
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> // *********************************** // ckeditor code here // *********************************** include_once "ckeditor/ckeditor.php"; // Create a class instance. $CKEditor = new CKEditor(); // Do not print the code directly to the browser, return it instead. $CKEditor->returnOutput = true; // Path to the CKEditor directory. $CKEditor->basePath = 'ckeditor/'; // Dimensions //$CKEditor->config['height'] = 250; $CKEditor->config['width'] = 560; // Change default textarea attributes. $CKEditor->textareaAttributes = array("cols" => 80, "rows" => 8); // Configuration , maybe use 'Template' in future $config['toolbar'] = array( array( 'Source' ), array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Undo','Redo' ), array( 'Find','Replace','-','SelectAll','-','SpellChecker' ), array( 'FontSize','TextColor' ), array( 'Bold', 'Italic', 'Underline', '-','RemoveFormat' ), array( 'NumberedList','BulletedList','-','Outdent','Indent','-','JustifyLeft','JustifyCenter','JustifyRight' ), array( 'Link','Unlink' ), array( 'Image','Flash','Table','HorizontalRule','Smiley','SpecialChar' ) ); echo $CKEditor->editor("about", $row['about'], $config);Re: ckeditor with PHP and IE9 compatibility view
Re: ckeditor with PHP and IE9 compatibility view
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!