[ 이 글은 2016년 3월 14일에 최종 수정되었습니다. ]

참고: 1월 20일까지 해외 웹호스팅 업체인 블루호스트에서 할인 행사를 진행하고 있습니다. 그리고 인기 워드프레스 테마 중 하나인 The 7도 39달러 할인 중입니다.

NicEdit is a WYSIWYG editor for websites, which can substitute “textareas” in WordPress.

NicEdit in WordPress

It’s very easy to apply this editor. You can just copy the code found at NicEdit’s web-site at http://nicedit.com/ and paste it into a page, which will change “textareas” to “NicEdit.”

-latest.js" type="text/javascript"></script>
<script type="text/javascript">bkLib.onDomLoaded(nicEditors.allTextAreas);</script>

I thought the code above will apply to textareas found in a specific page which contains this script, but all “textareas” will be replaced by NicEdit.  If you use the following script (for the second script above), only textareas with ID ‘myNicEditor’ will be changed to NicEdit.

<script type="text/javascript">
//<![CDATA[
bkLib.onDomLoaded(function() {
nicEditors.editors.push(
new nicEditor().panelInstance(
document.getElementById('myNicEditor')
)
);
});
//]]>
</script>

I changed ‘myNicEditor’ to ‘comment’ in order to use NicEdit in my WordPress comments system. The features are limited compared than other editors for HTML such as Ckeditor but it enables users to upload images. (Please refer to this web-page for additional text and HTML editor which can be used in WordPress.)

Please feel free to leave a Comment (). Have a great day.