@atlaskit/editor-plugin-media 0.3.10 → 0.3.12
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
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 0.3.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 0.3.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#42757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42757) [`73c66d2c6db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73c66d2c6db) - remove media securedClipboard FF
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 0.3.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -20,13 +20,11 @@ var ClipboardWrapper = exports.ClipboardWrapper = function ClipboardWrapper(_ref
|
|
|
20
20
|
config = _ref2.config,
|
|
21
21
|
pickerFacadeInstance = _ref2.pickerFacadeInstance;
|
|
22
22
|
var clipboardConfig = Object.assign({}, config);
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
};
|
|
29
|
-
}
|
|
23
|
+
clipboardConfig.container = container;
|
|
24
|
+
clipboardConfig.onPaste = function (event) {
|
|
25
|
+
event.stopPropagation();
|
|
26
|
+
return false;
|
|
27
|
+
};
|
|
30
28
|
return /*#__PURE__*/_react.default.createElement(_mediaPicker.Clipboard, {
|
|
31
29
|
mediaClientConfig: mediaClientConfig,
|
|
32
30
|
config: clipboardConfig,
|
|
@@ -14,13 +14,11 @@ export const ClipboardWrapper = ({
|
|
|
14
14
|
pickerFacadeInstance
|
|
15
15
|
}) => {
|
|
16
16
|
const clipboardConfig = Object.assign({}, config);
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
}
|
|
17
|
+
clipboardConfig.container = container;
|
|
18
|
+
clipboardConfig.onPaste = event => {
|
|
19
|
+
event.stopPropagation();
|
|
20
|
+
return false;
|
|
21
|
+
};
|
|
24
22
|
return /*#__PURE__*/React.createElement(Clipboard, {
|
|
25
23
|
mediaClientConfig: mediaClientConfig,
|
|
26
24
|
config: clipboardConfig,
|
|
@@ -13,13 +13,11 @@ export var ClipboardWrapper = function ClipboardWrapper(_ref) {
|
|
|
13
13
|
config = _ref2.config,
|
|
14
14
|
pickerFacadeInstance = _ref2.pickerFacadeInstance;
|
|
15
15
|
var clipboardConfig = Object.assign({}, config);
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
};
|
|
22
|
-
}
|
|
16
|
+
clipboardConfig.container = container;
|
|
17
|
+
clipboardConfig.onPaste = function (event) {
|
|
18
|
+
event.stopPropagation();
|
|
19
|
+
return false;
|
|
20
|
+
};
|
|
23
21
|
return /*#__PURE__*/React.createElement(Clipboard, {
|
|
24
22
|
mediaClientConfig: mediaClientConfig,
|
|
25
23
|
config: clipboardConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.12",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@atlaskit/adf-schema": "^32.0.0",
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^6.7.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
|
-
"@atlaskit/button": "^16.
|
|
39
|
-
"@atlaskit/editor-common": "^76.
|
|
38
|
+
"@atlaskit/button": "^16.13.0",
|
|
39
|
+
"@atlaskit/editor-common": "^76.18.0",
|
|
40
40
|
"@atlaskit/editor-palette": "1.5.1",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^0.3.0",
|
|
42
42
|
"@atlaskit/editor-plugin-decorations": "^0.2.0",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.6.0",
|
|
52
52
|
"@atlaskit/editor-tables": "^2.3.0",
|
|
53
|
-
"@atlaskit/form": "^
|
|
53
|
+
"@atlaskit/form": "^9.0.0",
|
|
54
54
|
"@atlaskit/icon": "^21.12.0",
|
|
55
|
-
"@atlaskit/media-card": "^77.
|
|
55
|
+
"@atlaskit/media-card": "^77.3.0",
|
|
56
56
|
"@atlaskit/media-client": "^25.0.0",
|
|
57
57
|
"@atlaskit/media-client-react": "^1.3.0",
|
|
58
|
-
"@atlaskit/media-common": "^
|
|
58
|
+
"@atlaskit/media-common": "^10.0.0",
|
|
59
59
|
"@atlaskit/media-filmstrip": "^47.0.0",
|
|
60
60
|
"@atlaskit/media-picker": "^66.2.0",
|
|
61
61
|
"@atlaskit/media-ui": "^25.0.0",
|