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