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'); }
私のコードではどこのテキストエリアが見つかりません...私のコードではありません..テキストエリアは動的に来ています...私はちょうどckeditorファイルを含む....私は何かが欲しい:http://ckeditor.com/demo –
@dskanth質問を編集し、使用しているコードを追加してください。 –
私の質問を編集....エディタをロードするコードを追加しました...現在、私が理解していないのは、デフォルトでエディタにいくつかのコンテンツをロードする方法です –