문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:egovframe:ckeditor [2020/03/24 20:24] dhan |
wiki:egovframe:ckeditor [2023/01/13 18:44] (현재) |
||
|---|---|---|---|
| 줄 8: | 줄 8: | ||
| <WRAP clear/> | <WRAP clear/> | ||
| - | ===== Trouble shottion ====== | + | ===== 이미지 업로드 |
| - | | + | [[https://jskimmail.blog.me/221600848149|ckeditor |
| + | [[https://offbyone.tistory.com/78|전자정부 표준프레임워크 - CKEditor 적용하기]] | ||
| + | ===== Example ===== | ||
| + | [[https:// | ||
| + | [[https:// | ||
| + | [[https:// | ||
| - | ===== Ref ===== | + | ===== Getter, Setter |
| + | 내용 입력 \\ | ||
| + | <code javascript> | ||
| + | CKEDITOR.instances.${editor ID}.setData('< | ||
| + | </ | ||
| + | 내용 가져 오기 \\ | ||
| + | <code javascript> | ||
| + | CKEDITOR.instance.${editor ID}.getData(); | ||
| + | </ | ||
| + | [[https:// | ||
| - | {{tag> | + | |
| + | ===== Tip ===== | ||
| + | Ajax로 Form 데이터를 전송할 때 CKEDIOTR로 변환 된 textarea값을 \\ | ||
| + | 다시 변경해야 데이터가 전달된다. \\ | ||
| + | <code javascript> | ||
| + | function CKupdate() | ||
| + | { | ||
| + | for(instance in CKEDITOR.instances) | ||
| + | CKEDITOR.instances[instance].updateElement(); | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | ===== Troubleshooting ====== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Ref ===== | ||
| + | * [[https:// | ||
| + | * [[http:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | {{tag> | ||