How does the server get the picture in the input content in vue-cli 's vue-quill-editor rich text editor?

clipboard.png

vue scaffolding code php back-end server language does not know how to get the content entered in the vue-quill-editor rich text editor api given to the official website I just say that new a quill and then use getContents (); to get the content how to get the text box content in the vue scaffolding there are no friends who know


getContents is a method. Ref should be used in vue.

now the ref name is defined in template
< div ref= "edit" / >

then call

in the script code

this.$refs ["edit"]. GetContents ()


clipboard.png

@ Coffee Cat how can this data be passed to the server

Menu