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.

  1. copy of ckeditor folder server.
  2. add html page ;like this:

    <script src="../script/ckeditor/ckeditor.js" type="text/javascript"></script> 
  3. assign css class of textarea ckeditor; class="ckeditor".


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -