简体   繁体   中英

TinyMCE unable to upload images in IE11

I've implemented TinyMCE 4 with drag and drop image upload which works well in Firefox and Chrome. However when attempting to upload an image in IE11, it gives the error

SCRIPT87: Invalid Argument.

My setup is simple as follows:

tinymceOptions = {
        selector: "textarea",
        plugins: ["paste"],
        paste_data_images: true
}
tinymce.init(tinymceOptions);

I've created a fiddle to demonstrate:

https://jsfiddle.net/s00fka6u/6/

Is this a known issue, or perhaps something with my local environment? Is there a workaround for this? I'm on IE version 11.0.10240.16766 on Windows 10

After further investigation it turned out this was a recreatable issue/bug with IE11 and not a local configuration or setup issue.

I have logged a bug at the tinymce github issues page here if anyone wants to follow the progress:

https://github.com/tinymce/tinymce/issues/2918

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