roosterjs 8.11.2 → 8.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Type definitions for roosterjs (Version 8.11.2)
1
+ // Type definitions for roosterjs (Version 8.11.3)
2
2
  // Generated by dts tool from roosterjs
3
3
  // Project: https://github.com/Microsoft/roosterjs
4
4
 
@@ -8132,7 +8132,7 @@ function extractClipboardItems(items, options) {
8132
8132
  }
8133
8133
  return Promise.all((items || []).map(function (item) {
8134
8134
  var type = item.type;
8135
- if (type.indexOf("image/" /* Image */) == 0 && !data.image) {
8135
+ if (type.indexOf("image/" /* Image */) == 0 && !data.image && item.kind == 'file') {
8136
8136
  data.types.push(type);
8137
8137
  data.image = item.getAsFile();
8138
8138
  return new Promise(function (resolve) {