문서의 이전 판입니다!
ckeditor 4 + spring + 파일 업로드 - (주레피) 확인된 자료
내용 입력
CKEDITOR.instances.${editor ID}.setData('<p>데이터</p>');
내용 가져 오기
CKEDITOR.instance.${editor ID}.getData();
Ajax로 Form 데이터를 전송할 때 CKEDIOTR로 변환 된 textarea값을
다시 변경해야 데이터가 전달된다.
function CKupdate() { for(instance in CKEDITOR.instances) CKEDITOR.instances[instance].updateElement(); }