실컷 적용해두고
지금보니 에디터내에서 보이는것과 실제 뷰페이지에서 보이는게 많이 다르다는걸 알았습니다
커뮤에서 두개의 에디터를 지원하기때문에 또 머리가아프네요
괜히 멀티 에디터를 지원하겠다고 설쳤나 싶기도하고
냑은 적용되어있을라나요..(인용구테스트)
그중에서 인용구부분이 문제인데 스타일을 잡아주는게아니라 ckeditor4 자체 css를 적용하고있어서.. 뷰페이지에서는 그게 보이지않으니 문제가 되는군요
으으으으음
머리가 안돌아가네요
댓글 7개
ckeditor4 자체 CSS를 변경하는 코드입니다.
<script>
CKEDITOR.replace('editor1',{
contentsCss: '../CSS/ckeditor_specific.css', // apply my own css. not default contents.css
width: 660, // contents width final web page(600) + editor margin(20)*2 + vertical scroll bar(20)
height: 500
});
</script>
// detail about contentsCss -> http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss
https://igotit.tistory.com/entry/CKEditor-%EC%BB%A4%EC%8A%A4%ED%85%80-CSS-%EC%A0%81%EC%9A%A9
<script>
CKEDITOR.replace('editor1',{
contentsCss: '../CSS/ckeditor_specific.css', // apply my own css. not default contents.css
width: 660, // contents width final web page(600) + editor margin(20)*2 + vertical scroll bar(20)
height: 500
});
</script>
// detail about contentsCss -> http://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-contentsCss
https://igotit.tistory.com/entry/CKEditor-%EC%BB%A4%EC%8A%A4%ED%85%80-CSS-%EC%A0%81%EC%9A%A9
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717629 | |
| 1717626 | |
| 1717625 | |
| 1717621 | |
| 1717619 | |
| 1717611 | |
| 1717610 | |
| 1717609 | |
| 1717607 | |
| 1717601 | |
| 1717598 | |
| 1717591 | |
| 1717590 | |
| 1717583 | |
| 1717575 | |
| 1717572 | |
| 1717568 | |
| 1717566 | |
| 1717549 | |
| 1717545 | |
| 1717533 | |
| 1717512 | |
| 1717511 | |
| 1717508 | |
| 1717495 | |
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기