0👍
Maybe separate the action from the button by putting it on the object on a different key, and calling it on click of the element:
"element": [
{
"value": "<button class='theme-link btn btn-light'>Default</button>",
"class": "text-success",
"action": function () {alert("Y")}
}
]
<p v-else v-html="element[0].value" @click="element[0].action"></p>
Source:stackexchange.com