简体   繁体   中英

How to set 'commandPath' for CKFinder when integrated with CKEditor?

How can I change the commandPath property (CKFinder.config.connectorPath) for CKFinder when it's being created via CKEditor(4)?

The documentation for vanilla CKF+CKE integration says:

At the moment the only supported configuration options in the config object are: basePath, width and height, all other settings will not be used.

So under ' Manual Integration ', it only seems to list options for specific function URLs, but not the URL for the CKFinder init .

CKFinder's 'init' command is going to the default: /lib/ckfinder/core/connector/java/connector.java?command=Init&type=Images

instead of the where my un-integrated CKFinder instance (on another page -and works) goes to the proper URL: /ckfinder?command=Init&type=Images

-Can this be done? In this environment, I cannot change the location of the CKFinder backend files.

Changing the property has proven to be impossible. I have since resorted to creating an alternate 'ckfinder.js' file, with the appropriate connectorPath string, and loading the alternate as needed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM