Skip to content

ckeditor - cant preview image thumbs or insert on double click #3

Description

@vk011

Hello,

I got it working more or less, I can create folders and upload files but there are 2 issues.

  1. Thumbnails view shows images/blank.gif instead of the actual image thumb.

  2. I can't seem to insert the image link into ckeditor url, I should be able to do this by double clicking the thumb.

I also get the following in the console when I double click a thumb to insert it.

uncaught TypeError: Cannot read property 'CKEDITOR' of null
    at setFile (main.min.js:1)
    at HTMLLIElement.<anonymous> (main.min.js:1)
    at HTMLLIElement.dispatch (jquery.min.js:3)
    at HTMLLIElement.r.handle (jquery.min.js:3)
setFile @ main.min.js:1
(anonymous) @ main.min.js:1
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3](url)

I guess the problem is with RETURN_URL_PREFIX in the conf.js file now that I've read up on fileman a bit, it seems it should point to ckeditor, but now I am setting that to both http://localhost:3001/js/ckeditor/ckeditor.js and /js/ckeditor/ckeditor.js yet neither work (and if I go in my browser to http://localhost:3001/js/ckeditor/ckeditor.js it shows the content of the js file).

I have my public folder set for static files with a js folder in there which holds all the relevant js files and the ckeditor folder.

I seem to be so close yet so far away.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions