How to manually set script path for ckeditor

Usually we just need to unzip the package from the ckeditor site to the dictionary and use it as CKEDITOR.replace('editor1');

. But my problem is that ckeditor cannot correctly recognize the path to the plugin and other files, so the editor won't load.

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

thank

UPDATE I tried to install CKEDITOR.basePath

, editor loaded successfully but plugin doesn't work, exception [CKEDITOR.dialog.openDialog] Dialog "paste" failed when loading definition.

Problem still remains

+3


source to share


1 answer


I know this is deprecated, but the tweak CKEDITOR.plugins.basePath

should fix your problem.



+1


source







All Articles