diff --git a/packages/fbjs/src/datatransfer/DataTransfer.js b/packages/fbjs/src/datatransfer/DataTransfer.js index 1e90194f..5dd57d24 100644 --- a/packages/fbjs/src/datatransfer/DataTransfer.js +++ b/packages/fbjs/src/datatransfer/DataTransfer.js @@ -75,7 +75,7 @@ class DataTransfer { getText() { var text; if (this.data.getData) { - if (!this.types.length) { + if (!this.types.length || this.types.indexOf('Text') != -1) { text = this.data.getData('Text'); } else if (this.types.indexOf('text/plain') != -1) { text = this.data.getData('text/plain');