简体   繁体   中英

Is there a way to upload an image(.heic) file on my Wysiwyg editor without any image convertings?

I have created a rich text editor with javascript. It accepts all image files except.heic images.

Is there a way to show heic images on my editor first and then upload it?

 const input = this.imageInput = document.createElement("input"); input.type = "file"; input.accept = "image/*"; input.accept = ".heic"; input.style.display = "block";

 <input type="file" accept="image/*, .heic">

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