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.
package/dist/rooster.d.ts CHANGED
@@ -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
 
package/dist/rooster.js CHANGED
@@ -8133,7 +8133,7 @@ function extractClipboardItems(items, options) {
8133
8133
  }
8134
8134
  return Promise.all((items || []).map(function (item) {
8135
8135
  var type = item.type;
8136
- if (type.indexOf("image/" /* Image */) == 0 && !data.image) {
8136
+ if (type.indexOf("image/" /* Image */) == 0 && !data.image && item.kind == 'file') {
8137
8137
  data.types.push(type);
8138
8138
  data.image = item.getAsFile();
8139
8139
  return new Promise(function (resolve) {