Init data not read by the editor
calrloco opened this issue · 1 comments
calrloco commented
when trying to read the data coming from the db when i pass the value to init-data data the data is not read, do you have any idea why ?
<editor v-if="form.initData" :config="config" @save="save" ref="editor" autofocus :init-data="form.initData" />
data() {
return {
form: {
title: this.artilceTitle,
body: null,
tags: this.selectedTag,
category: this.selectedCategory,
files: null,
initData:JSON.parse(JSON.stringify(this.initData)),
},
kevinwaxi commented
did you solve this