Hello all
Currently i used Ckeditor and i'd put a text in the textarea with value. (When the user load the page he has the page with his field ever full)
i have integrate Ckfinder but now i don't know how can i put a value for produce the same effect that i had with Ckeditor only.
<?php session_start(); $_SESSION['IsAuthorized']=true; ?> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script type="text/javascript" src="ckeditor/ckeditor.js"> </script> <script type="text/javascript" src="ckeditor/adapters/jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("#textarea").ckeditor(); }); </script> <?php include_once '../ckeditor/ckeditor.php'; include_once '../ckfinder/ckfinder.php'; $ckeditor = new CKEditor(); $ckeditor->basePatch = '/ckeditor/'; CKFinder ::SetupCKeditor($ckeditor, '/ckfinder/'); $ckeditor->editor('contenu'); ?> </head> <body> </body> </html>
Re: Put a value to the textarea of Ckfinder
Assuming that you have included ckfinder.js and ckeditor.js in your page, you may simply use something as simple as:
where 'editor1' is the ID of textarea element on the page.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Put a value to the textarea of Ckfinder
Here is my code with Ckfinder and my field ever complete :
This is my code which doesn't work. The aim is the same that before but include ckfinder.
So what is the problem ?
Thanks
Re: Put a value to the textarea of Ckfinder
I have not yet found the solution...
Help me please...