문서의 선택한 두 판 사이의 차이를 보여줍니다.
다음 판 | 이전 판 | ||
wiki:egovframe:ckeditor [2020/03/24 20:23] dhan 만듦 |
wiki:egovframe:ckeditor [2023/01/13 18:44] (현재) |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Ckeditor ====== | ====== Ckeditor ====== | ||
+ | <WRAP left notice 80%> | ||
+ | * description : Ckediotr 관련 내용 기술 | ||
+ | * author | ||
+ | * email : dhan@repia.com | ||
+ | * lastupdate | ||
+ | </ | ||
+ | <WRAP clear/> | ||
- | ===== Trouble shottion ====== | + | ===== 이미지 업로드 |
- | | + | [[https://jskimmail.blog.me/221600848149|ckeditor |
+ | [[https://offbyone.tistory.com/78|전자정부 표준프레임워크 - CKEditor 적용하기]] | ||
- | ===== Ref ===== | ||
+ | ===== Example ===== | ||
+ | [[https:// | ||
+ | [[https:// | ||
+ | [[https:// | ||
- | {{tag> | + | ===== Getter, Setter ===== |
+ | 내용 입력 \\ | ||
+ | <code javascript> | ||
+ | CKEDITOR.instances.${editor ID}.setData('< | ||
+ | </ | ||
+ | |||
+ | 내용 가져 오기 \\ | ||
+ | <code javascript> | ||
+ | CKEDITOR.instance.${editor ID}.getData(); | ||
+ | </ | ||
+ | [[https:// | ||
+ | |||
+ | |||
+ | |||
+ | ===== 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> |