리자

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,947
12년 전 조회 7,440
12년 전 조회 7,250
12년 전 조회 6,978
12년 전 조회 6,732
12년 전 조회 5,993
12년 전 조회 7,448
12년 전 조회 5,296
12년 전 조회 6,315
12년 전 조회 1.4만
12년 전 조회 4,377
12년 전 조회 8,102
12년 전 조회 6,577
12년 전 조회 5,481
12년 전 조회 6,197
12년 전 조회 5,673
12년 전 조회 9,303
12년 전 조회 8,284
12년 전 조회 5,016
12년 전 조회 7,349
12년 전 조회 9,044
12년 전 조회 7,618
12년 전 조회 8,196
12년 전 조회 7,394
12년 전 조회 7,529
12년 전 조회 7,438
12년 전 조회 7,526
12년 전 조회 7,019
12년 전 조회 5,852
12년 전 조회 1.2만