Aug 282012
 

웹페이지를 개발할때 간단한 글쓰기에서 HTML이 지원되는 에디터를 사용하기 위해서 찾은 오픈소스입니다.

http://ckeditor.com/

사용법도 아주 간단하며, PHP 모듈도 지원이 되어, 설치 후에 아래와 같이 PHP 코드를 추가해주면 됩니다.

content라는 textarea name으로 된 부분을 HTML 에디터로 변경해줍니다.

    <?php
    include $_SERVER["DOCUMENT_ROOT"]."/ckeditor/ckeditor_php5.php";
 
    $CKEditor = new CKEditor();
    $CKEditor->basePath = '/ckeditor/';
    $CKEditor->replace("content");
    ?>
Print Friendly

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/smlee/blog/wordpress/wp-content/plugins/seo-facebook-comments/seofacebook.php on line 488

Warning: Invalid argument supplied for foreach() in /home/smlee/blog/wordpress/wp-content/plugins/seo-facebook-comments/seofacebook.php on line 490

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Plugin from the creators of Brindes :: More at Plulz Wordpress Plugins