stash
This commit is contained in:
parent
80dc694248
commit
ee7f6cb737
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