Opened 12 years ago

Closed 12 years ago

#7758 closed Bug (invalid)

imagesPath for templates has always editor path

Reported by: datalink Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:


I set a mytemplates.js outside ckeditor and want to set template images in a folder accessible by filebrowser. But image path has always editor path in front.
As a workaround I set

imagesPath : '../../../content/media/image/editortemplates/'

and get the image. With it output is:

Change History (1)

comment:1 Changed 12 years ago by Frederico Caldeira Knabben

Resolution: invalid
Status: newclosed

Paths will be always relative to the editor directory.

You should use an absolution URL (starting with slash) in this case, like "/content/media/image/editortemplates/".

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