vue-wysiwyg
vue-wysiwyg copied to clipboard
Example of vue-wysiwyg with S3 multer or some sort of backend API for images?
Would be very helpful to have some sort of example showing how to upload images to a backend API—currently searching all over the web for answers.
Hi, I somehow got the solution but it is still buggy at vue level. I have asked question on this but I guess nobody is interested to comment on this topic.
You can make the editor area reactive, read the content, post the content to your API, bring back the new content (for example just a link, replace the content, and be done, this right after you copy/paste an image into the editor. (this is how I did this with another editor, and it works actually really good as it keeps the 'content' small, just add for example: v-on:input="emitInput" to your code