stash
This commit is contained in:
parent
2415bf27da
commit
c8e5bc298c
1 changed files with 4 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue