Hi,
I make this for a blocks plugin :
panel.plugin("me/chapeau-block", {
blocks: {
chapeau: `<k-writer
ref="input"
:nodes="false"
:value="content.text"
class="k-block-type-chapeau"
@input="update({ text: $event })"
/>`
}
});
After read this :
https://getkirby.com/docs/reference/plugins/extensions/blocks
panel.plugin("your-project/button-block", {
blocks: {
button: `
<button type="button" @click="open">
{{ content.text }}
</button>
`
}
});
But the right panel looks like this, with html, how to remove this html ? Whatâs wrong ?