Fix pasting text anywhere on the page (#1222)
This commit is contained in:
parent
82a9fdefe7
commit
42200b80ee
@ -19,7 +19,7 @@ export default (
|
||||
}
|
||||
|
||||
const input = document.activeElement;
|
||||
if (input && input.tagName === 'INPUT' && ![EDITABLE_INPUT_ID, EDITABLE_INPUT_MODAL_ID].includes(input.id)) {
|
||||
if (input && ![EDITABLE_INPUT_ID, EDITABLE_INPUT_MODAL_ID].includes(input.id)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user