@atlaskit/editor-plugin-media-insert 2.6.0 → 2.6.2

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,19 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 2.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#140631](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140631)
8
+ [`deed1759cb1d3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/deed1759cb1d3) -
9
+ Remove passing url to alt for external images
10
+
11
+ ## 2.6.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 2.6.0
4
18
 
5
19
  ### Minor Changes
@@ -213,7 +213,7 @@ function MediaFromURL(_ref) {
213
213
  if (previewState.warning) {
214
214
  insertExternalMediaSingle({
215
215
  url: url,
216
- alt: url,
216
+ alt: '',
217
217
  inputMethod: _analytics.INPUT_METHOD.MEDIA_PICKER
218
218
  });
219
219
  }
@@ -181,7 +181,7 @@ export function MediaFromURL({
181
181
  if (previewState.warning) {
182
182
  insertExternalMediaSingle({
183
183
  url,
184
- alt: url,
184
+ alt: '',
185
185
  inputMethod: INPUT_METHOD.MEDIA_PICKER
186
186
  });
187
187
  }
@@ -206,7 +206,7 @@ export function MediaFromURL(_ref) {
206
206
  if (previewState.warning) {
207
207
  insertExternalMediaSingle({
208
208
  url: url,
209
- alt: url,
209
+ alt: '',
210
210
  inputMethod: INPUT_METHOD.MEDIA_PICKER
211
211
  });
212
212
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Media Insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,14 +24,14 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/button": "^20.1.0",
27
- "@atlaskit/editor-common": "^89.0.0",
27
+ "@atlaskit/editor-common": "^89.1.0",
28
28
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
29
29
  "@atlaskit/editor-plugin-media": "^1.31.0",
30
30
  "@atlaskit/editor-prosemirror": "6.0.0",
31
31
  "@atlaskit/editor-shared-styles": "^2.13.0",
32
- "@atlaskit/icon": "^22.17.0",
33
- "@atlaskit/media-card": "^78.2.0",
34
- "@atlaskit/media-client": "^27.6.0",
32
+ "@atlaskit/icon": "^22.18.0",
33
+ "@atlaskit/media-card": "^78.3.0",
34
+ "@atlaskit/media-client": "^28.0.0",
35
35
  "@atlaskit/media-client-react": "^2.2.0",
36
36
  "@atlaskit/media-picker": "^66.4.0",
37
37
  "@atlaskit/primitives": "^12.1.0",