v-model isn't compatible with contentdeditable divs - this directive fills in
npm install vue-contenteditable-directive
import contenteditableDirective from 'vue-contenteditable-directive'
//...
Vue.use(contenteditableDirective)
`
`
`
The directive uses innerText to manipulate the DOM by default. However, you can use the modifier, dangerousHTML, to allow the directive to use and set the innerHTML of the editable element:
`
v-contenteditable:someDataKey.dangerousHTML="true"
``