Fix pasting text anywhere on the page (#1222)

This commit is contained in:
Alexander Zinchuk 2021-06-30 05:23:13 +03:00
parent 82a9fdefe7
commit 42200b80ee

View File

@ -19,7 +19,7 @@ export default (
} }
const input = document.activeElement; 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; return;
} }