Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vk011 opened this issue Jul 25, 2017 · 1 comment
Open

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

vk011 opened this issue Jul 25, 2017 · 1 comment

Comments

@vk011
Copy link

vk011 commented Jul 25, 2017

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.

@vk011 vk011 changed the title a more elaborate how to and integration with ckeditor cant preview image thumbs or insert on double click Jul 25, 2017
@vk011 vk011 changed the title cant preview image thumbs or insert on double click ckeditor - cant preview image thumbs or insert on double click Jul 26, 2017
@jdnichollsc
Copy link
Member

Any pull request is always welcome mate!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants