Skip to content

Commit

Permalink
Dispatch events on contentEditable elements (#216)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisherranz committed Sep 18, 2021
1 parent ad87dff commit 765dc7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/ghost-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class ContentEditableWrapper {
this.dataset = element.dataset;
this.addEventListener = element.addEventListener.bind(element);
this.removeEventListener = element.removeEventListener.bind(element);
this.dispatchEvent = element.dispatchEvent.bind(element);
this.blur = element.blur.bind(element);
}

Expand Down

0 comments on commit 765dc7a

Please sign in to comment.