So, I have (re-)created the custom FAQ block with editable previews and I noticed that the marks
properties for the writer fields are static in the Vue template. How can I make them dynamic as in the preview for the accordion block?
I’m not very experienced with Vue; I’ve tried:
<k-writer
ref="details"
:marks="item.content.details.marks"
:value="item.content.details"
@input="updateItem(content, index, 'details', $event)"
/>
but that didn’t do anything, so I suppose something must be added to the computed
property of the Vue object to loop through the faq items and get the fields. Can anybody help me?