@atlaskit/editor-plugin-paste 1.10.1 → 1.11.0

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,17 @@
1
1
  # @atlaskit/editor-plugin-paste
2
2
 
3
+ ## 1.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#133315](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/133315)
8
+ [`5c94ca338de14`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c94ca338de14) -
9
+ Updating mentions plugin config for handling deleted mentions and refactor
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 1.10.1
4
16
 
5
17
  ### Patch Changes
@@ -197,6 +197,7 @@ function createPasteAnalyticsPayloadBySelection(event, slice, pasteContext, plug
197
197
  mentionIds.push(node.attrs.id);
198
198
  mentionLocalIds.push(node.attrs.localId);
199
199
  mentionsInserted.push({
200
+ type: 'added',
200
201
  id: node.attrs.id,
201
202
  localId: node.attrs.localId
202
203
  });
@@ -192,6 +192,7 @@ function createPasteAnalyticsPayloadBySelection(event, slice, pasteContext, plug
192
192
  mentionIds.push(node.attrs.id);
193
193
  mentionLocalIds.push(node.attrs.localId);
194
194
  mentionsInserted.push({
195
+ type: 'added',
195
196
  id: node.attrs.id,
196
197
  localId: node.attrs.localId
197
198
  });
@@ -185,6 +185,7 @@ function createPasteAnalyticsPayloadBySelection(event, slice, pasteContext, plug
185
185
  mentionIds.push(node.attrs.id);
186
186
  mentionLocalIds.push(node.attrs.localId);
187
187
  mentionsInserted.push({
188
+ type: 'added',
188
189
  id: node.attrs.id,
189
190
  localId: node.attrs.localId
190
191
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "1.10.1",
3
+ "version": "1.11.0",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,7 +33,7 @@
33
33
  ".": "./src/index.ts"
34
34
  },
35
35
  "dependencies": {
36
- "@atlaskit/editor-common": "^88.0.0",
36
+ "@atlaskit/editor-common": "^88.1.0",
37
37
  "@atlaskit/editor-markdown-transformer": "^5.11.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^1.8.0",
39
39
  "@atlaskit/editor-plugin-annotation": "^1.19.0",
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
43
43
  "@atlaskit/editor-plugin-list": "^3.8.0",
44
44
  "@atlaskit/editor-plugin-media": "^1.29.0",
45
- "@atlaskit/editor-plugin-mentions": "^2.4.0",
45
+ "@atlaskit/editor-plugin-mentions": "^2.5.0",
46
46
  "@atlaskit/editor-prosemirror": "5.0.1",
47
47
  "@atlaskit/editor-tables": "^2.8.0",
48
48
  "@atlaskit/media-client": "^27.5.0",
@@ -58,7 +58,7 @@
58
58
  "devDependencies": {
59
59
  "@af/visual-regression": "*",
60
60
  "@atlaskit/adf-schema": "^40.8.1",
61
- "@atlaskit/editor-plugin-block-type": "^3.13.0",
61
+ "@atlaskit/editor-plugin-block-type": "^3.14.0",
62
62
  "@atlaskit/editor-plugin-history": "^1.3.0",
63
63
  "@atlaskit/editor-plugin-type-ahead": "^1.8.0",
64
64
  "@atlaskit/ssr": "*",