diff --git a/src/index.tsx b/src/index.tsx
index 20c2610b3..1615b1f73 100644
--- a/src/index.tsx
+++ b/src/index.tsx
@@ -295,6 +295,7 @@ export class App extends React.Component<{}, AppState> {
{
+ if (isInputLike(e.target)) return;
e.clipboardData.setData(
"text/plain",
JSON.stringify(
@@ -308,6 +309,7 @@ export class App extends React.Component<{}, AppState> {
e.preventDefault();
}}
onCopy={e => {
+ if (isInputLike(e.target)) return;
e.clipboardData.setData(
"text/plain",
JSON.stringify(
@@ -319,6 +321,7 @@ export class App extends React.Component<{}, AppState> {
e.preventDefault();
}}
onPaste={e => {
+ if (isInputLike(e.target)) return;
const paste = e.clipboardData.getData("text");
this.addElementsFromPaste(paste);
e.preventDefault();