我使用ajax來填充一個表單,它有一個textarea,我想要使用ckeditor。 當內容返回時,textarea被創建,但編輯器沒有被應用到它。在我的AJAX文件我有: $initialValue = $thisjobrow['description'];
$CKEditor = new CKEditor();
$CKEditor->basePath = '../ckeditor/';
$CKEditor->editor("myeditor1", $initialValue);
ckeditor使用ajax編輯器不加載
頂部我: include_once( 「../的CKEditor/ckeditor.php」); 所以textarea被創建,我的內容被添加進來,但所有我最終都是一個普通的舊文本區域,稱爲myeditor1。
任何和所有幫助最受歡迎。
謝謝我認爲你說的同樣的事Steve_c,上面說,但我不確定。你能否擴大你的迴應? – Stranded