@atlaskit/editor-plugin-paste 12.1.12 → 12.1.13

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,13 @@
1
1
  # @atlaskit/editor-plugin-paste
2
2
 
3
+ ## 12.1.13
4
+
5
+ ### Patch Changes
6
+
7
+ - [`643d0f8f77dff`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/643d0f8f77dff) -
8
+ Clean up stale experiment platform_editor_pasting_text_in_panel (FFCLEANUP-104459)
9
+ - Updated dependencies
10
+
3
11
  ## 12.1.12
4
12
 
5
13
  ### Patch Changes
@@ -139,7 +139,7 @@ function handlePasteIntoTaskOrDecisionOrPanel(slice, queueCardsFromChangedTr) {
139
139
  // returning false will allow code to flow into `handleCodeBlock` function
140
140
  // Partial content copied from panels will have panel in the slice
141
141
  // Return false to avoid handling this situation when pasted into list in panel and let `handlePastePanelOrDecisionContentIntoList` handle it
142
- if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel && (0, _expValEquals.expValEquals)('platform_editor_pasting_text_in_panel', 'isEnabled', true))) {
142
+ if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel)) {
143
143
  return false;
144
144
  }
145
145
 
@@ -108,7 +108,7 @@ export function handlePasteIntoTaskOrDecisionOrPanel(slice, queueCardsFromChange
108
108
  // returning false will allow code to flow into `handleCodeBlock` function
109
109
  // Partial content copied from panels will have panel in the slice
110
110
  // Return false to avoid handling this situation when pasted into list in panel and let `handlePastePanelOrDecisionContentIntoList` handle it
111
- if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel && expValEquals('platform_editor_pasting_text_in_panel', 'isEnabled', true))) {
111
+ if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel)) {
112
112
  return false;
113
113
  }
114
114
 
@@ -110,7 +110,7 @@ export function handlePasteIntoTaskOrDecisionOrPanel(slice, queueCardsFromChange
110
110
  // returning false will allow code to flow into `handleCodeBlock` function
111
111
  // Partial content copied from panels will have panel in the slice
112
112
  // Return false to avoid handling this situation when pasted into list in panel and let `handlePastePanelOrDecisionContentIntoList` handle it
113
- if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel && expValEquals('platform_editor_pasting_text_in_panel', 'isEnabled', true))) {
113
+ if (selectionIsPanel && (selectionIsCodeBlock || selectionIsListItem && !isSliceWholePanel)) {
114
114
  return false;
115
115
  }
116
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-paste",
3
- "version": "12.1.12",
3
+ "version": "12.1.13",
4
4
  "description": "Paste plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,14 +49,14 @@
49
49
  "@atlaskit/media-common": "^13.3.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.0",
51
51
  "@atlaskit/prosemirror-history": "^0.2.0",
52
- "@atlaskit/tmp-editor-statsig": "^99.0.0",
53
- "@atlaskit/tokens": "^13.3.0",
52
+ "@atlaskit/tmp-editor-statsig": "^100.0.0",
53
+ "@atlaskit/tokens": "^13.4.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "lodash": "^4.17.21",
56
56
  "uuid": "^3.1.0"
57
57
  },
58
58
  "peerDependencies": {
59
- "@atlaskit/editor-common": "^115.13.0",
59
+ "@atlaskit/editor-common": "^115.15.0",
60
60
  "react": "^18.2.0",
61
61
  "react-dom": "^18.2.0",
62
62
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"