tinymce jbimages在一个输入类型=文件中上传多个文件

时间:2018-08-17 08:30:56

标签: tinymce

我如何在tinymce-> jbimages插件中使用一个输入type =“ file”上传多个文件? jbimages当前一次接受1张图片。我正在尝试调整

/**
 * Perform the file upload
 *
 * @return  bool
 */
public function do_upload($field = 'userfile')

但没有发现运气。

<form class="form-inline" id="upl" name="upl" action="ci/index.php?upload/english" method="post" enctype="multipart/form-data" target="upload_target" onsubmit="jbImagesDialog.inProgress();">

        <div id="upload_in_progress" class="upload_infobar"><img src="img/spinner.gif" width="16" height="16" class="spinner">Upload in progress&hellip; <div id="upload_additional_info"></div></div>
        <div id="upload_infobar" class="upload_infobar"></div>

        <p id="upload_form_container">
            <input id="uploader" name="userfile[]" multiple type="file" class="jbFileBox" onChange="document.upl.submit(); jbImagesDialog.inProgress();">
        </p>

        <p id="the_plugin_name"><a href="http://justboil.me/" target="_blank" title="JustBoil.me &mdash; a TinyMCE Images Upload Plugin">JustBoil.me Images Plugin</a></p>

    </form>

0 个答案:

没有答案