@atlaskit/editor-plugin-paste 3.3.1 → 3.3.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,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-paste
|
|
2
2
|
|
|
3
|
+
## 3.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#149435](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149435)
|
|
8
|
+
[`d65b9032b4136`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d65b9032b4136) -
|
|
9
|
+
Clean-up feature gate platform_editor_macroid_reset_for_ext_on_paste
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.3.1
|
|
4
13
|
|
|
5
14
|
### 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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|
|
3
|
+
"version": "3.3.2",
|
|
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.
|
|
36
|
+
"@atlaskit/editor-common": "^103.22.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",
|
|
@@ -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.
|
|
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
|
},
|