php - How to use CKEditor as form input? -
i trying make simple web editor using ckeditor cant find out how make work.
first checked samples site. thing make ckeditor work include .js file , add ckeditor class form textarea element.
<script src="../ckeditor.js"></script> . . . <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">
so copy .js file , try in own folder , when run php script whole textarea element hidden , doesnt create ckeditor panel should in this sample page. there might javascript configuration havent found in source code of sample page.
- copy of
ckeditor
folder server. add html page ;like this:
<script src="../script/ckeditor/ckeditor.js" type="text/javascript"></script>
assign css class of
textarea
ckeditor
;class="ckeditor"
.
Comments
Post a Comment