Home > Net >  Upload media/images on aws3 using tinymce editor in React js
Upload media/images on aws3 using tinymce editor in React js

Time:08-19

I'm trying to implement TinyMCE rich text editor in react, all the setup is done. I don't know how can I upload media/images on AWS-3 using TinyMCE in react. If anybody has done it before please share

CodePudding user response:

By default, TinyMCE does not upload images on the server. It converts them into base64 and adds them as blobs. To upload these images to the server, you will need to set up automatic_uploads and add a custom upload handler (check other options in the configuration reference, like images_upload_url, images_upload_base_path, images_upload_credentials, etc).

Since automatic_uploads isn't one of the default options for React, you will need to set up the additional editor options via init.

  • Related