node.js - express ckeditor fileman integration -
i trying integrate fileman ckeditor express app, based on this: https://github.com/jdnichollsc/roxy-fileman-for-node.js
i kind of there not yet.
i have bare bones express app static files set in public directory , have js folder in there necessary fileman js files , ckeditor.
when click "browse server", fileman file manager , can create folders , upload files, problem when double click image add ckeditor browse server url, console error says:
uncaught typeerror: cannot read property 'ckeditor' of null @ setfile (main.min.js:1) @ htmllielement. (main.min.js:1) @ htmllielement.dispatch (jquery.min.js:3) @ 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` so i've read on fileman bit , seems have set return_url_prefix option in conf.js point ckeditor, tried setting both http://localhost:3001/js/ckeditor/ckeditor.js , /js/ckeditor/ckeditor.jsbut not seem work (the path ckeditor correct, if go http://localhost:3001/js/ckeditor/ckeditor.js in browser can see file content).
have of guys dealt already? can upload app somewhere can download , run , see in action, once again it's small app 2 routes , necessary files fileman.
Comments
Post a Comment