Take the 2-minute tour ×

Usually we just need to unzip the package from the ckeditor website to a dictionary and use it like CKEDITOR.replace('editor1');. But my problem is the ckeditor cannot correctly recognize the path to the plugin and other files, makes the editor fail to load.

Is there any way to manually set the path to its files?


UPDATE I have tried to set the CKEDITOR.basePath, the editor loaded successfully, but the plugin don't works, exception [CKEDITOR.dialog.openDialog] Dialog "paste" failed when loading definition. The problem still remains

share|improve this question
I had the same problem. Setting window.CKEDITOR_BASEPATH before you load the actual ckeditor javascript file worked. Take a look at this. –  machineaddict Jun 13 at 7:35
add comment

1 Answer

up vote 0 down vote accepted

I know this is old, but setting CKEDITOR.plugins.basePath should fix your problem.

share|improve this answer
add comment

Your Answer


