@atlaskit/editor-plugin-media 1.44.0 → 1.44.1
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/CHANGELOG.md
CHANGED
|
@@ -276,7 +276,7 @@ var MediaPluginStateImplementation = exports.MediaPluginStateImplementation = /*
|
|
|
276
276
|
(0, _mediaCommon2.removeMediaNode)(_this.view, getNode, getPos);
|
|
277
277
|
});
|
|
278
278
|
(0, _defineProperty2.default)(this, "getIdentifierKey", function (identifier) {
|
|
279
|
-
if (identifier.mediaItemType ===
|
|
279
|
+
if (identifier.mediaItemType === 'file') {
|
|
280
280
|
return identifier.id;
|
|
281
281
|
} else {
|
|
282
282
|
return identifier.dataURI;
|
|
@@ -248,7 +248,7 @@ export class MediaPluginStateImplementation {
|
|
|
248
248
|
removeMediaNode(this.view, getNode, getPos);
|
|
249
249
|
});
|
|
250
250
|
_defineProperty(this, "getIdentifierKey", identifier => {
|
|
251
|
-
if (identifier.mediaItemType ===
|
|
251
|
+
if (identifier.mediaItemType === 'file') {
|
|
252
252
|
return identifier.id;
|
|
253
253
|
} else {
|
|
254
254
|
return identifier.dataURI;
|
|
@@ -267,7 +267,7 @@ export var MediaPluginStateImplementation = /*#__PURE__*/function () {
|
|
|
267
267
|
removeMediaNode(_this.view, getNode, getPos);
|
|
268
268
|
});
|
|
269
269
|
_defineProperty(this, "getIdentifierKey", function (identifier) {
|
|
270
|
-
if (identifier.mediaItemType ===
|
|
270
|
+
if (identifier.mediaItemType === 'file') {
|
|
271
271
|
return identifier.id;
|
|
272
272
|
} else {
|
|
273
273
|
return identifier.dataURI;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.1",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^6.12.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
38
38
|
"@atlaskit/button": "^20.3.0",
|
|
39
|
-
"@atlaskit/editor-common": "^
|
|
40
|
-
"@atlaskit/editor-palette": "1.6.
|
|
39
|
+
"@atlaskit/editor-common": "^99.0.0",
|
|
40
|
+
"@atlaskit/editor-palette": "1.6.4",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
42
|
-
"@atlaskit/editor-plugin-annotation": "1.26.
|
|
42
|
+
"@atlaskit/editor-plugin-annotation": "1.26.11",
|
|
43
43
|
"@atlaskit/editor-plugin-connectivity": "^1.1.0",
|
|
44
44
|
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
45
45
|
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
55
55
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
56
56
|
"@atlaskit/form": "^11.0.0",
|
|
57
|
-
"@atlaskit/icon": "^23.
|
|
57
|
+
"@atlaskit/icon": "^23.3.0",
|
|
58
58
|
"@atlaskit/media-card": "^78.18.0",
|
|
59
59
|
"@atlaskit/media-client": "^29.0.0",
|
|
60
60
|
"@atlaskit/media-client-react": "^2.5.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@atlaskit/textfield": "^6.7.0",
|
|
69
69
|
"@atlaskit/theme": "^14.0.0",
|
|
70
70
|
"@atlaskit/tmp-editor-statsig": "^2.33.0",
|
|
71
|
-
"@atlaskit/tokens": "^
|
|
71
|
+
"@atlaskit/tokens": "^3.0.0",
|
|
72
72
|
"@atlaskit/tooltip": "^19.0.0",
|
|
73
73
|
"@babel/runtime": "^7.0.0",
|
|
74
74
|
"@emotion/react": "^11.7.1",
|