如何在ckeditor image2插件中使用多个上传图片? [英] How to use multiple upload image in ckeditor image2 plugin?

查看:793
本文介绍了如何在ckeditor image2插件中使用多个上传图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CKEditor image2插件中的多个上传图像是否有一些配置规则?我目前的配置是:

Is it some configuration rule for multiple upload image in CKEditor image2 plugin? My current configuration is:

editor.ckeditor({
    forcePasteAsPlainText: true,
    extraPlugins: 'embed,autoembed,image2',
    image2_alignClasses: [ 'image-align-left', 'image-align-center','image-align-right' ],
    image2_disableResizer: true,
    filebrowserImageBrowseUrl: '/laravel-filemanager?type=Images',
    filebrowserImageUploadUrl: '/laravel-filemanager/upload?type=Images&_token=' + editor.attr('data-token'),
    filebrowserBrowseUrl: '/laravel-filemanager?type=Files',
    filebrowserUploadUrl: '/laravel-filemanager/upload?type=Files&_token=' + editor.attr('data-token')
});


推荐答案

这是一个使用ckeditor提供多个图像上传的插件。 ckeditor本身似乎不支持多个图片上传。

Here is a plugin that provides multiple image uploading using ckeditor. It doesn't appear that ckeditor itself supports multiple image uploading.

https://www.martinezdelizarrondo.com/ckplugins/simpleuploads.demo4/

这篇关于如何在ckeditor image2插件中使用多个上传图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆