We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa426ec commit 873c5f0Copy full SHA for 873c5f0
src/dispatcher.js
@@ -84,8 +84,8 @@ export default class Dispatcher {
84
this.$document
85
.on('focus.editable', selector, function (event) {
86
if (this.getAttribute(config.pastingAttribute)) return
87
- const selection = self.selectionWatcher.getFreshSelection()
88
- self.notify('focus', this, selection)
+ self.selectionWatcher.syncSelection()
+ self.notify('focus', this)
89
})
90
91
.on('blur.editable', selector, function (event) {
0 commit comments