I am instantiating ckeditor with php code but the editor will not display in IE9 if the user has "compatibility view" checked. It works fine if unchecked. I have tried using different Doc Types but that did not help.
ANY IDEAS ? Maybe someone can point me to a working example as well.
<!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);
SOLVED: ckeditor with PHP and IE9 compatibility view
I found a few code changes that made it work.
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!