@atlaskit/editor-plugin-paste 3.3.1 → 3.3.3

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,20 @@
1
1
  # @atlaskit/editor-plugin-paste
2
2
 
3
+ ## 3.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#149435](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149435)
14
+ [`d65b9032b4136`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d65b9032b4136) -
15
+ Clean-up feature gate platform_editor_macroid_reset_for_ext_on_paste
16
+ - Updated dependencies
17
+
3
18
  ## 3.3.1
4
19
 
5
20
  ### Patch Changes
@@ -511,9 +511,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
511
511
  if (!(0, _experiments.editorExperiment)('single_column_layouts', true)) {
512
512
  slice = (0, _transforms.transformSingleColumnLayout)(slice, schema);
513
513
  }
514
- if ((0, _platformFeatureFlags.fg)('platform_editor_macroid_reset_for_ext_on_paste')) {
515
- slice = (0, _transforms.transformSliceToRemoveMacroId)(slice, schema);
516
- }
514
+ slice = (0, _transforms.transformSliceToRemoveMacroId)(slice, schema);
517
515
  return slice;
518
516
  },
519
517
  transformPastedHTML: function transformPastedHTML(html) {
@@ -485,9 +485,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
485
485
  if (!editorExperiment('single_column_layouts', true)) {
486
486
  slice = transformSingleColumnLayout(slice, schema);
487
487
  }
488
- if (fg('platform_editor_macroid_reset_for_ext_on_paste')) {
489
- slice = transformSliceToRemoveMacroId(slice, schema);
490
- }
488
+ slice = transformSliceToRemoveMacroId(slice, schema);
491
489
  return slice;
492
490
  },
493
491
  transformPastedHTML(html) {
@@ -503,9 +503,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
503
503
  if (!editorExperiment('single_column_layouts', true)) {
504
504
  slice = transformSingleColumnLayout(slice, schema);
505
505
  }
506
- if (fg('platform_editor_macroid_reset_for_ext_on_paste')) {
507
- slice = transformSliceToRemoveMacroId(slice, schema);
508
- }
506
+ slice = transformSliceToRemoveMacroId(slice, schema);
509
507
  return slice;
510
508
  },
511
509
  transformPastedHTML: function transformPastedHTML(html) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
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
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.6.0",
35
35
  "@atlaskit/code": "^17.1.0",
36
- "@atlaskit/editor-common": "^103.21.0",
36
+ "@atlaskit/editor-common": "^104.0.0",
37
37
  "@atlaskit/editor-markdown-transformer": "^5.16.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
39
39
  "@atlaskit/editor-plugin-annotation": "^2.7.0",
@@ -41,14 +41,14 @@
41
41
  "@atlaskit/editor-plugin-card": "^5.4.0",
42
42
  "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
43
43
  "@atlaskit/editor-plugin-list": "^4.2.0",
44
- "@atlaskit/editor-plugin-media": "^2.7.0",
44
+ "@atlaskit/editor-plugin-media": "^3.0.0",
45
45
  "@atlaskit/editor-plugin-mentions": "^4.5.0",
46
46
  "@atlaskit/editor-prosemirror": "7.0.0",
47
47
  "@atlaskit/editor-tables": "^2.9.0",
48
- "@atlaskit/media-client": "^32.0.0",
48
+ "@atlaskit/media-client": "^33.0.0",
49
49
  "@atlaskit/media-common": "^12.0.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
- "@atlaskit/tmp-editor-statsig": "^4.15.0",
51
+ "@atlaskit/tmp-editor-statsig": "^4.16.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "lodash": "^4.17.21",
54
54
  "uuid": "^3.1.0"
@@ -61,7 +61,7 @@
61
61
  "@af/visual-regression": "workspace:^",
62
62
  "@atlaskit/editor-plugin-block-type": "^5.1.0",
63
63
  "@atlaskit/editor-plugin-history": "^2.0.0",
64
- "@atlaskit/editor-plugin-type-ahead": "^2.5.0",
64
+ "@atlaskit/editor-plugin-type-ahead": "^2.6.0",
65
65
  "@atlaskit/ssr": "workspace:^",
66
66
  "@atlaskit/visual-regression": "workspace:^",
67
67
  "@testing-library/react": "^13.4.0",
@@ -114,9 +114,6 @@
114
114
  "platform_editor_fix_captions_on_copy": {
115
115
  "type": "boolean"
116
116
  },
117
- "platform_editor_macroid_reset_for_ext_on_paste": {
118
- "type": "boolean"
119
- },
120
117
  "platform_editor_legacy_content_macro_insert": {
121
118
  "type": "boolean"
122
119
  },