Opened 12 years ago

Closed 12 years ago

#10187 closed Bug (invalid)

CKEDITOR.plugins.basePath is ignored

Reported by: Tomas Kuba Owned by:
Priority: Normal Milestone:
Component: General Version: 4.1 RC
Keywords: Cc:

Description

I tried to convince CKEditor 4 to read its standard plugins form different folder (whole CKEditor is in subfolder e.g.: '/js/ckeditor/…'). I have been pushing paths to editor and plugins following way:

CKEDITOR.basePath = '/js/ckeditor/';
CKEDITOR.plugins.basePath = '/js/ckeditor/plugins/';
…

CKEDITOR it self is working fine but plugins does not take basePath in account and still looks in path '/plugins/…'

Find this issue on GitHub

Change History (1)

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

I think your problem is related with "timing". You're much probably running the above code *after* having your plugins loaded. In that case it'll not work, because the plugins paths will be already calculated.

In any case, you should check the documentation for CKEDITOR.basePath. It instructs on how to properly set the editor path by code (if the editor is not able to resolve the path by itself). More on this is also available at Specifying the Editor Path.

Find this issue on GitHub
Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy