2012-01-05 31 views

答えて

1

ckeditorライブラリのjavascriptを使用して、ckEditorインスタンスのコンテンツを設定できます。私はあなたのCKEditorバージョンのインスタンスの名前を

runScript 
CKEDITOR.instances['body'].setData('<p>testContent</p>'); 

変更 "体" は、以下のソリューションを使用しました

enter image description here

関連する問題