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-amd-min.js +1 -1
- package/dist/rooster-amd-min.js.map +1 -1
- package/dist/rooster-amd.d.ts +1 -1
- package/dist/rooster-amd.js +1 -1
- package/dist/rooster-amd.js.map +1 -1
- package/dist/rooster-min.js +1 -1
- package/dist/rooster-min.js.map +1 -1
- package/dist/rooster.d.ts +1 -1
- package/dist/rooster.js +1 -1
- package/dist/rooster.js.map +1 -1
- package/package.json +6 -6
- package/tsconfig.child.tsbuildinfo +1 -1
package/dist/rooster-amd.d.ts
CHANGED
package/dist/rooster-amd.js
CHANGED
|
@@ -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) {
|