the front end uses vue, to receive data and textarea, to receive data. The effect is as follows
but when submitting changes, you need markdown text instead of rendering.
tried using the vue-markdown plug-in, which can render html but cannot be converted to markdown text
related codes
<textarea v-model.trim="publishData.topicContent" placeholder=""" "></textarea>
<!-- <vue-markdown :source="publishData.topicContent"></vue-markdown> -->
vue-markdown renders the converted html directly. How can I get the markdown text? It is hoped that the text can be passed into textarea for users to edit, instead of a pile of html