@atlaskit/editor-plugin-paste 13.3.18 → 13.3.20

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-paste
2
2
 
3
+ ## 13.3.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d72a5eb291763`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d72a5eb291763) -
8
+ Clean up experiment `platform_editor_table_in_panel_paste_fallback`
9
+ - Updated dependencies
10
+
11
+ ## 13.3.19
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 13.3.18
4
18
 
5
19
  ### Patch Changes
@@ -665,7 +665,7 @@ function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFlags, pl
665
665
  // When platform_editor_nest_table_in_panel is OFF,
666
666
  // move tables out of panel divs in the HTML before ProseMirror
667
667
  // parses it — otherwise the panel schema drops the table content.
668
- if ((0, _expValEquals.expValEquals)('platform_editor_table_in_panel_paste_fallback', 'isEnabled', true) && !(0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
668
+ if (!(0, _expValEquals.expValEquals)('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
669
669
  html = (0, _handlers.splitTablesOutOfPanelHtml)(html);
670
670
  }
671
671
  mostRecentPasteEvent = null;
@@ -624,7 +624,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
624
624
  // When platform_editor_nest_table_in_panel is OFF,
625
625
  // move tables out of panel divs in the HTML before ProseMirror
626
626
  // parses it — otherwise the panel schema drops the table content.
627
- if (expValEquals('platform_editor_table_in_panel_paste_fallback', 'isEnabled', true) && !expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
627
+ if (!expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
628
628
  html = splitTablesOutOfPanelHtml(html);
629
629
  }
630
630
  mostRecentPasteEvent = null;
@@ -657,7 +657,7 @@ export function createPlugin(schema, dispatchAnalyticsEvent, dispatch, featureFl
657
657
  // When platform_editor_nest_table_in_panel is OFF,
658
658
  // move tables out of panel divs in the HTML before ProseMirror
659
659
  // parses it — otherwise the panel schema drops the table content.
660
- if (expValEquals('platform_editor_table_in_panel_paste_fallback', 'isEnabled', true) && !expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
660
+ if (!expValEquals('platform_editor_nest_table_in_panel', 'isEnabled', true)) {
661
661
  html = splitTablesOutOfPanelHtml(html);
662
662
  }
663
663
  mostRecentPasteEvent = null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "13.3.18",
3
+ "version": "13.3.20",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,14 +35,14 @@
35
35
  "@atlaskit/editor-prosemirror": "^8.0.0",
36
36
  "@atlaskit/editor-tables": "^3.0.0",
37
37
  "@atlaskit/flag": "^18.2.0",
38
- "@atlaskit/icon": "^37.0.0",
38
+ "@atlaskit/icon": "^37.1.0",
39
39
  "@atlaskit/insm": "^1.0.0",
40
40
  "@atlaskit/media-client": "^37.2.0",
41
41
  "@atlaskit/media-common": "^14.3.0",
42
42
  "@atlaskit/platform-feature-flags": "^2.0.0",
43
43
  "@atlaskit/prosemirror-history": "^1.0.0",
44
- "@atlaskit/tmp-editor-statsig": "^128.0.0",
45
- "@atlaskit/tokens": "^16.0.0",
44
+ "@atlaskit/tmp-editor-statsig": "^130.0.0",
45
+ "@atlaskit/tokens": "^16.1.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "lodash": "^4.17.21",
48
48
  "uuid": "^3.1.0"