iam在我的網站中使用ckeditor將內容添加到網頁中。 但我無法理解如何在ckeditor中獲取此內容以便稍後進行編輯...在ckeditor中編輯內容
如何將內容加載到ckeditor中? IAM使用以下代碼來加載編輯:
if ([email protected]_exists('../../ckeditor/ckeditor.php')) { if (@file_exists('../../ckeditor/ckeditor.js') || @file_exists('../../../ckeditor/ckeditor_source.js')) printNotFound('CKEditor 3.1+'); else printNotFound('CKEditor'); } include_once '../../ckeditor/ckeditor.php'; include_once '../../ckfinder/ckfinder.php'; // This is a check for the CKEditor class. If not defined, the paths in lines 57 and 70 must be checked. if (!class_exists('CKEditor')) { printNotFound('CKEditor'); } else { $ckeditor = new CKEditor(); $ckeditor->basePath = '../../ckeditor/'; $ckfinder = new CKFinder(); $ckfinder->BasePath = '../../ckfinder/'; // Note: BasePath property in CKFinder class starts with capital letter $ckfinder->SetupCKEditorObject($ckeditor); $ckeditor->editor('message'); }
但iam無法找到我的代碼中的textarea在哪裏...我沒有在我的代碼.. textarea是動態的...我只包括ckeditor文件....我想要的東西:http://ckeditor.com/demo – 2011-01-25 14:16:07