Τρίτη 8 Φεβρουαρίου 2011

CKEditor

I will explain some useful things you should know, in order to intergrate and use CKEditor in your sites.

Installation
First of all you should download the latest version of CKEditor from the official website http://ckeditor.com/download, and then extract the downloaded archive to a directory called ckeditor in the root of your website. Of course, you are free to place ckeditor directory in any place, but I usually put it in the default one.

Integration
In order to integrate CKEditor, you need to include a single file reference in your page. If you have installed CKEditor in the ckeditor directory for the root of your website, you need to insert the following code fragment into the head section of your page:




Then, wherever you want, you place a textarea with class="ckeditor" and that's all!





Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου