简体   繁体   中英

CKEditor paste image upload

I've spent the last day trying to get an image pasted into CKEditor to automatically upload onto the web server. I've been through several tutorials but most examples seem to be aimed toward PHP. I tried CKFinder but it seems to complex for my needs. Can someone point me toward the server-side code I need and the CKEditor configurations? Thanks for your time!

if you only need to paste image files, here's a way..

how about use another fileupload js plugin like webuploader.js ?

webuploader.js can drag the image file to the dom to auto uploadfile

and then you can do something such as "appending to the ckeditor values" on CallbackSuccessUpload function;

uploader.on('uploadSuccess', function (file, response) {
        appendImageUrl(response);
    });

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM