CKEditor Sample

Output


This is some sample text.

'; // Create class instance. $CKEditor = new CKEditor(); // Path to CKEditor directory, ideally instead of relative dir, use an absolute path: // $CKEditor->basePath = '/ckeditor/' // If not set, CKEditor will try to detect the correct path. $CKEditor->basePath = '../../'; // Create textarea element and attach CKEditor to it. $CKEditor->editor("editor1", $initialValue); ?>