This commit is contained in:
j3d1 2024-05-22 22:32:16 +02:00
parent 80dc694248
commit ee7f6cb737

View file

@ -1,5 +1,5 @@
<template> <template>
<div contenteditable> <div contenteditable @input="onchange">
<span v-html="rawhtml(value)"></span> <span v-html="rawhtml(value)"></span>
</div> </div>
</template> </template>
@ -25,6 +25,9 @@ export default {
} else { } else {
return value; return value;
} }
},
onchange(event) {
console.log(event.target.innerHTML);
} }
} }
}; };