toast-ui vue-editor doesn't support v-model to bind the value. What should be done to bind the input value while using toast-ui vue-editor? I have setup toast-ui:
import '@toast-ui/editor/dist/toastui-editor.css';
import { Editor } from '@toast-ui/vue-editor';
export default {
components: {
editor: Editor
}
}
<editor
:initialValue="form.explanation"
height="500px"
initialEditType="markdown"
previewStyle="vertical"
ref="toastuiEditor"
/>
I need to bind my form data and save it to database.
getHtml
it is pretty well documented