Hi
I managed to get CKEditor integrated on my website:
<textarea id="editor1" name="editor1"><p>Initial value.</p></textarea> <script type="text/javascript"> var editor = CKEDITOR.replace( 'editor1', { toolbar : 'Backoffice' }); CKFinder.setupCKEditor(editor, '/ckfinder/'); </script>
But I'm not able to integrate CKFinder into CKEditor.
CKEditor is placed in /var/www/xyz/ckeditor
And in the pom.xml of my WebApplication I've added the dependency:
<dependency> <groupId>com.ckeditor</groupId> <artifactId>ckeditor-java-core</artifactId> <version>3.5.3</version> <scope>provided</scope> </dependency>
CKFinder have been put into pom.xml of ear-module:
<dependency> <groupId>com.ckfinder</groupId> <artifactId>ckfinder</artifactId> <version>2.0.2</version> <type>war</type> </dependency>
and:
<webModule> <groupId>com.ckfinder</groupId> <artifactId>ckfinder</artifactId> <contextRoot>/ckfinder</contextRoot> <bundleFileName>ckfinder-2.0.2.war</bundleFileName> </webModule>
Andj JkMount in sites-enabled of apache2:
JkMount /ckfinder/* local
I have the error message --> CKFinder is not defined
It seems that I'm missing the whole JavaScript?
What have I done wrong?
greez
GarfieldKlon
Re: CKFinder is not defined (integration wit CKEditor)
Ha, I've found the error.
was missing. But I couldn't find this in the documentation:
http://docs.cksource.com/CKFinder_2.x/D ... stallation
or:
http://docs.cksource.com/CKFinder_2.x/D ... ntegration
Re: CKFinder is not defined (integration wit CKEditor)
It looks you're right, we'll correct the documentation, thanks!
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+