@atlaskit/editor-plugin-media 1.19.7 → 1.19.9
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 +14 -0
- package/dist/cjs/toolbar/index.js +3 -2
- package/dist/cjs/toolbar/mediaInline.js +5 -4
- package/dist/es2019/toolbar/index.js +3 -2
- package/dist/es2019/toolbar/mediaInline.js +5 -4
- package/dist/esm/toolbar/index.js +3 -2
- package/dist/esm/toolbar/mediaInline.js +5 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 1.19.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.19.8
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#98080](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98080)
|
|
14
|
+
[`23c03580e38c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/23c03580e38c) -
|
|
15
|
+
[ux] [ED-23247] Allow floating toolbar copy buttons in live pages view mode.
|
|
16
|
+
|
|
3
17
|
## 1.19.7
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -103,13 +103,14 @@ var generateMediaCardFloatingToolbar = function generateMediaCardFloatingToolbar
|
|
|
103
103
|
type: 'separator'
|
|
104
104
|
}, {
|
|
105
105
|
type: 'copy-button',
|
|
106
|
+
supportsViewMode: true,
|
|
106
107
|
items: [{
|
|
107
108
|
state: state,
|
|
108
109
|
formatMessage: intl.formatMessage,
|
|
109
110
|
nodeType: mediaGroup
|
|
110
|
-
}, {
|
|
111
|
-
type: 'separator'
|
|
112
111
|
}]
|
|
112
|
+
}, {
|
|
113
|
+
type: 'separator'
|
|
113
114
|
}, {
|
|
114
115
|
id: 'editor.media.delete',
|
|
115
116
|
type: 'button',
|
|
@@ -67,13 +67,14 @@ var generateMediaInlineFloatingToolbar = exports.generateMediaInlineFloatingTool
|
|
|
67
67
|
type: 'separator'
|
|
68
68
|
}, {
|
|
69
69
|
type: 'copy-button',
|
|
70
|
+
supportsViewMode: true,
|
|
70
71
|
items: [{
|
|
71
72
|
state: state,
|
|
72
73
|
formatMessage: intl.formatMessage,
|
|
73
74
|
nodeType: mediaInline
|
|
74
|
-
}, {
|
|
75
|
-
type: 'separator'
|
|
76
75
|
}]
|
|
76
|
+
}, {
|
|
77
|
+
type: 'separator'
|
|
77
78
|
}, {
|
|
78
79
|
id: 'editor.media.delete',
|
|
79
80
|
type: 'button',
|
|
@@ -281,12 +282,12 @@ var getMediaInlineImageToolbar = exports.getMediaInlineImageToolbar = function g
|
|
|
281
282
|
}
|
|
282
283
|
inlineImageItems.push({
|
|
283
284
|
type: 'copy-button',
|
|
285
|
+
supportsViewMode: true,
|
|
284
286
|
items: [{
|
|
285
287
|
state: state,
|
|
286
288
|
formatMessage: intl.formatMessage,
|
|
287
289
|
nodeType: mediaInline
|
|
288
|
-
}]
|
|
289
|
-
supportsViewMode: true
|
|
290
|
+
}]
|
|
290
291
|
});
|
|
291
292
|
inlineImageItems.push({
|
|
292
293
|
type: 'separator'
|
|
@@ -91,13 +91,14 @@ const generateMediaCardFloatingToolbar = (state, intl, mediaPluginState, hoverDe
|
|
|
91
91
|
type: 'separator'
|
|
92
92
|
}, {
|
|
93
93
|
type: 'copy-button',
|
|
94
|
+
supportsViewMode: true,
|
|
94
95
|
items: [{
|
|
95
96
|
state,
|
|
96
97
|
formatMessage: intl.formatMessage,
|
|
97
98
|
nodeType: mediaGroup
|
|
98
|
-
}, {
|
|
99
|
-
type: 'separator'
|
|
100
99
|
}]
|
|
100
|
+
}, {
|
|
101
|
+
type: 'separator'
|
|
101
102
|
}, {
|
|
102
103
|
id: 'editor.media.delete',
|
|
103
104
|
type: 'button',
|
|
@@ -58,13 +58,14 @@ export const generateMediaInlineFloatingToolbar = (state, intl, mediaPluginState
|
|
|
58
58
|
type: 'separator'
|
|
59
59
|
}, {
|
|
60
60
|
type: 'copy-button',
|
|
61
|
+
supportsViewMode: true,
|
|
61
62
|
items: [{
|
|
62
63
|
state,
|
|
63
64
|
formatMessage: intl.formatMessage,
|
|
64
65
|
nodeType: mediaInline
|
|
65
|
-
}, {
|
|
66
|
-
type: 'separator'
|
|
67
66
|
}]
|
|
67
|
+
}, {
|
|
68
|
+
type: 'separator'
|
|
68
69
|
}, {
|
|
69
70
|
id: 'editor.media.delete',
|
|
70
71
|
type: 'button',
|
|
@@ -275,12 +276,12 @@ export const getMediaInlineImageToolbar = (state, intl, mediaPluginState, hoverD
|
|
|
275
276
|
}
|
|
276
277
|
inlineImageItems.push({
|
|
277
278
|
type: 'copy-button',
|
|
279
|
+
supportsViewMode: true,
|
|
278
280
|
items: [{
|
|
279
281
|
state,
|
|
280
282
|
formatMessage: intl.formatMessage,
|
|
281
283
|
nodeType: mediaInline
|
|
282
|
-
}]
|
|
283
|
-
supportsViewMode: true
|
|
284
|
+
}]
|
|
284
285
|
});
|
|
285
286
|
inlineImageItems.push({
|
|
286
287
|
type: 'separator'
|
|
@@ -93,13 +93,14 @@ var generateMediaCardFloatingToolbar = function generateMediaCardFloatingToolbar
|
|
|
93
93
|
type: 'separator'
|
|
94
94
|
}, {
|
|
95
95
|
type: 'copy-button',
|
|
96
|
+
supportsViewMode: true,
|
|
96
97
|
items: [{
|
|
97
98
|
state: state,
|
|
98
99
|
formatMessage: intl.formatMessage,
|
|
99
100
|
nodeType: mediaGroup
|
|
100
|
-
}, {
|
|
101
|
-
type: 'separator'
|
|
102
101
|
}]
|
|
102
|
+
}, {
|
|
103
|
+
type: 'separator'
|
|
103
104
|
}, {
|
|
104
105
|
id: 'editor.media.delete',
|
|
105
106
|
type: 'button',
|
|
@@ -57,13 +57,14 @@ export var generateMediaInlineFloatingToolbar = function generateMediaInlineFloa
|
|
|
57
57
|
type: 'separator'
|
|
58
58
|
}, {
|
|
59
59
|
type: 'copy-button',
|
|
60
|
+
supportsViewMode: true,
|
|
60
61
|
items: [{
|
|
61
62
|
state: state,
|
|
62
63
|
formatMessage: intl.formatMessage,
|
|
63
64
|
nodeType: mediaInline
|
|
64
|
-
}, {
|
|
65
|
-
type: 'separator'
|
|
66
65
|
}]
|
|
66
|
+
}, {
|
|
67
|
+
type: 'separator'
|
|
67
68
|
}, {
|
|
68
69
|
id: 'editor.media.delete',
|
|
69
70
|
type: 'button',
|
|
@@ -271,12 +272,12 @@ export var getMediaInlineImageToolbar = function getMediaInlineImageToolbar(stat
|
|
|
271
272
|
}
|
|
272
273
|
inlineImageItems.push({
|
|
273
274
|
type: 'copy-button',
|
|
275
|
+
supportsViewMode: true,
|
|
274
276
|
items: [{
|
|
275
277
|
state: state,
|
|
276
278
|
formatMessage: intl.formatMessage,
|
|
277
279
|
nodeType: mediaInline
|
|
278
|
-
}]
|
|
279
|
-
supportsViewMode: true
|
|
280
|
+
}]
|
|
280
281
|
});
|
|
281
282
|
inlineImageItems.push({
|
|
282
283
|
type: 'separator'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "1.19.
|
|
3
|
+
"version": "1.19.9",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
39
39
|
"@atlaskit/button": "^17.14.0",
|
|
40
|
-
"@atlaskit/editor-common": "^
|
|
40
|
+
"@atlaskit/editor-common": "^80.0.0",
|
|
41
41
|
"@atlaskit/editor-palette": "1.6.0",
|
|
42
42
|
"@atlaskit/editor-plugin-analytics": "^1.1.0",
|
|
43
|
-
"@atlaskit/editor-plugin-annotation": "1.7.
|
|
43
|
+
"@atlaskit/editor-plugin-annotation": "1.7.4",
|
|
44
44
|
"@atlaskit/editor-plugin-decorations": "^1.1.0",
|
|
45
45
|
"@atlaskit/editor-plugin-editor-disabled": "^1.1.0",
|
|
46
46
|
"@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
|