Opened 15 years ago

Closed 15 years ago

#2940 closed Bug (fixed)

Override CKEDITOR.basePath and CKEDITOR.getUrl

Reported by: Frederico Caldeira Knabben Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: CKEditor 3.0
Component: General Version:
Keywords: Confirmed IBM Review+ Cc:

Description

A new feature present in V3 is that it automatically calculates the "base path" (the editor installation path), based on the URL <script> used for the editor script.

There are some situations though where it will not be able to find that URL. For example, if merging all scripts used in a page, including the editor scripts, in a single file.

To solve this issue, there should be a way to override the default base path calculation with a custom value.

The same thing is valid for CKEDITOR.getUrl, which is the function used to locate all editor files. There should be a way to introduce a custom implementation to it.

Attachments (1)

2940.patch (8.2 KB) - added by Frederico Caldeira Knabben 15 years ago.

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by Frederico Caldeira Knabben

Attachment: 2940.patch added

comment:1 Changed 15 years ago by Frederico Caldeira Knabben

Keywords: Review? added
Status: newassigned

comment:2 Changed 15 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:3 Changed 15 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: assignedclosed

Fixed with [3091]. Click here for more info about our SVN system.

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