Hi, i am trying to include ckeditor ajax. However it doesn't work. After some debugging with the browser developer tools I have noticed that it tries to find the config, skin, lang and styles in the current path and not the path of the editor files. I was wondering if there was a way to override the root url it tries to look for these files.
The following is the code I use in the file which is read in via ajax:
<script src="/CKEditor/ckeditor.js"></script>
<textarea class="ckeditor"" id="Html" name="Html" cols="60 rows="10"></textarea>
I'd appreciate the help. Thanks
Fixed! The following page
Fixed! The following page showed me how to do it:
http://docs.ckeditor.com/#!/api/CKEDITOR-property-basePath
The key was to set the CKEDITOR_BASEPATH before the script block. This is abit of a hack but I guess it will do for now.