cheditor에디터 사용 시 글 내용 길어질때 스크롤 안내려가는 현상
처음 글 써보네요...
cheditor 에디터 사용시 글 내용 길어지면 overflow:auto 라서 스크롤은 생기는데 익스에서는
스크롤이 밑으로 안내려가서 작성되는 글이 안보여지는 현상이 발생해요
이 부분을 수정해봤어요
cheditor 버젼 5 사용하고요
openDoc : function (doc, contents) {
doc.open();
var html = '<html><head><title>'+this.config.docTitle+'</title><style></style>';
html += '<script>function scrollTop_ok() { document.body.scrollTop = document.body.scrollHeight;} setInterval("scrollTop_ok()",100);</script>'; // fixed by HYEM 2013-08-29
html += '</head><body>';
if (typeof(contents) === 'string') {
html += this.trimSpace(contents);
}
html += '</body></html>';
doc.write(html);
doc.close();
},
cheditor 에디터 사용시 글 내용 길어지면 overflow:auto 라서 스크롤은 생기는데 익스에서는
스크롤이 밑으로 안내려가서 작성되는 글이 안보여지는 현상이 발생해요
이 부분을 수정해봤어요
cheditor 버젼 5 사용하고요
openDoc : function (doc, contents) {
doc.open();
var html = '<html><head><title>'+this.config.docTitle+'</title><style></style>';
html += '<script>function scrollTop_ok() { document.body.scrollTop = document.body.scrollHeight;} setInterval("scrollTop_ok()",100);</script>'; // fixed by HYEM 2013-08-29
html += '</head><body>';
if (typeof(contents) === 'string') {
html += this.trimSpace(contents);
}
html += '</body></html>';
doc.write(html);
doc.close();
},
댓글 2개
takumi22
12년 전
정보 감사드립니다.
12년 전
좋은팁 감사합니다..
게시판 목록
그누4 팁자료실
그누보드4와 관련된 팁을 여러분들과 함께 공유하세요.
나누면 즐거움이 커집니다.
나누면 즐거움이 커집니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 3049 | 12년 전 | 12968 | ||
| 3048 | 12년 전 | 6855 | ||
| 3047 | 12년 전 | 8503 | ||
| 3046 | 12년 전 | 8780 | ||
| 3045 | 12년 전 | 6105 | ||
| 3044 | 12년 전 | 4400 | ||
| 3043 | 12년 전 | 7050 | ||
| 3042 | 12년 전 | 6453 | ||
| 3041 |
마르스7120
|
12년 전 | 7441 | |
| 3040 | 12년 전 | 13117 | ||
| 3039 |
|
12년 전 | 9501 | |
| 3038 | 12년 전 | 10900 | ||
| 3037 | 12년 전 | 7685 | ||
| 3036 | 12년 전 | 5341 | ||
| 3035 |
오늘도망했다
|
12년 전 | 41845 | |
| 3034 |
오늘도망했다
|
12년 전 | 9612 | |
| 3033 |
코리아센터닷컴
|
12년 전 | 6793 | |
| 3032 |
|
12년 전 | 3230 | |
| 3031 | 12년 전 | 8677 | ||
| 3030 | 12년 전 | 4686 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기