리자

CKEDITOR 에디터 적용 방법

[code]
<?php
include_once('./_common.php');
include_once(G4_CKEDITOR_PATH.'/ckeditor.lib.php');
include_once(G4_PATH.'/head.sub.php');
?>
...
<form method="post" onsubmit="return form_submit(this);">
<?=editor_html('unique_editor_id', '내용');?>
</form>
...
<script>
function form_submit(f)
{
<?=get_editor_js("unique_editor_id");?>
return true;
}
</script>
<?
include_once(G4_PATH.'/tail.sub.php');
?>
[/code]
|

댓글 1개

이걸 어디다 적용시키는건가요?
댓글을 작성하시려면 로그인이 필요합니다.

그누보드5 팁자료실

+
제목 글쓴이 날짜 조회
12년 전 조회 4,992
12년 전 조회 7,474
12년 전 조회 7,296
12년 전 조회 7,023
12년 전 조회 6,785
12년 전 조회 6,039
12년 전 조회 7,491
12년 전 조회 5,352
12년 전 조회 6,358
12년 전 조회 1.4만
12년 전 조회 4,413
12년 전 조회 8,136
12년 전 조회 6,608
12년 전 조회 5,510
12년 전 조회 6,230
12년 전 조회 5,704
12년 전 조회 9,334
12년 전 조회 8,312
12년 전 조회 5,058
12년 전 조회 7,378
12년 전 조회 9,070
12년 전 조회 7,647
13년 전 조회 8,228
13년 전 조회 7,423
13년 전 조회 7,559
13년 전 조회 7,476
13년 전 조회 7,557
13년 전 조회 7,052
13년 전 조회 5,887
13년 전 조회 1.2만