vue2 rich text editor recommendation and php processing base64
Now I want to use vue2 to make a PC-side article publishing page
You need to use a rich text editor
Front-end images are displayed through base64
etc. After the user actually submits, it will be saved to the server
Now I want to ask you something
1.Does Vue2 have any mature rich text editor? The pictures are displayed using base64
2.php backend receives the rich text content $_POST ['content']How to extract the image, save it and then replace base64 with url?
Is there a more mature solution?
Try VUE-QUILL-EDITOR, link: https://github.com/surmon-chi...
Just go to the editor part upstairs. . The image base64 was done just two days ago. The front-end display should be no problem. I will post the background program for you below
What I uploaded here is an array. If you want to upload a single image, you don’t need to loop, just convert it directly