Hello,
I’m using a custom block type for my homepage, the styling of the content works fine but I get the following error when I try to create a new block:
this.$refs[(“block-” + t.id)][0] is undefined
Here is my js plugin file, what did I miss?
Thanks
panel.plugin("deflagrations/findpages", {
blocks: {
findpages: {
template:`
<div class="mainblock">
<div class="maintitle"
v-if="content.displaypages[0].text">
{{ content.displaypages[0].text}}
</div>
<img
v-if="content.displaypages[0].image.url"
:src="content.displaypages[0].image.url"
alt=""
>
</div>
`
}
}
});