Skip to content

Commit

Permalink
Hide IE11 paste fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raffij committed Feb 4, 2019
1 parent 932cdd9 commit 1d80617
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/plugins/core/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ define([
selection.placeMarkers();

var bin = document.createElement('div');
bin.style.height = 0;
bin.style.opacity = 0;
bin.style.overflow = 'hidden';
document.body.appendChild(bin);
bin.setAttribute('contenteditable', true);
bin.focus();
Expand Down

0 comments on commit 1d80617

Please sign in to comment.