Skip to content

Commit

Permalink
Add emit on Blur event on editor.
Browse files Browse the repository at this point in the history
I need blur event.
  • Loading branch information
dkhjmu authored Aug 29, 2018
1 parent 3ac688f commit 0e8ef15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor/Editr.vue
Original file line number Diff line number Diff line change
@@ -188,6 +188,7 @@ export default {
onContentBlur () {
// save focus to restore it later
this.selection = this.saveSelection();
this.$emit("blur", this.$refs.content);
},
onPaste(e) {

0 comments on commit 0e8ef15

Please sign in to comment.