Opened 13 years ago
Closed 13 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: |
Description
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:
http://mydomain/admin/ckeditor/editor/../../../content/media/image/editortemplates/template3.gif
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/".