I found the editor media-editor
https://github.com/yabwe/medi.
and then I"m worried about how to upload movies and pictures.
https://github.com/orthes/med.
when I use it, I find that there are several problems that I can"t solve all the time.
question 1
when dragging and uploading to edit or upload a built-in image using the media-editor-insert-plugin plug-in, the "original image" will be uploaded without compression, so if there are more than a dozen images, each with a large size, it will lead to operation delay. I can"t imagine how to go through compression first. Or do not send the "original picture" and then put it to the editor
add: all I can know now is that he spits out the data after he is finished: how can I compress him when I put base64 into the editor? Hide him?
question 2
emoji is not supported. When you put the emoji to the editor and send it to the database, what is displayed is "?". This is also the
question 3
I found that when I want to upload youtube,facebook,instagram movies, I can directly through the URL and third-party suite service to achieve the direct introduction of the function, found that this third-party suite supports the editor
https://iframely.com/docs/medium
would like to ask if anyone has used this service, and is there any other alternative?
thanks to the above, it has bothered me for several days.
I would like to ask the great gods, can you show me the way for the little ones and give me a fishing rod and train of thought? How to solve the above problems!
question 1 I don"t know if I can intercept it halfway. The preview of the photo he outputs is data: base64,. I don"t know if I can make changes to the image uploaded to the editor and then throw it back, but it seems impossible to think about it, but I can"t find the code when dragging or uploading the photo.