@atlaskit/editor-plugin-panel 12.0.4 → 12.0.5

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-panel
2
2
 
3
+ ## 12.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f7d7098ecbcbf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f7d7098ecbcbf) -
8
+ Cleanup exp platform_editor_copy_paste_issue_fix
9
+ - Updated dependencies
10
+
3
11
  ## 12.0.4
4
12
 
5
13
  ### Patch Changes
@@ -45,7 +45,7 @@ var panelAttrsToDom = exports.panelAttrsToDom = function panelAttrsToDom(attrs,
45
45
  }
46
46
  // Required for parseDOM to correctly parse custom panel when NodeView DOM is copied directly
47
47
  // Schema's parseDOM expects data-panel-icon on all custom panels, not just ones with color
48
- if (isCustomPanel && (0, _expValEquals.expValEquals)('platform_editor_copy_paste_issue_fix', 'isEnabled', true)) {
48
+ if (isCustomPanel) {
49
49
  panelAttrs = _objectSpread(_objectSpread({}, panelAttrs), {}, {
50
50
  'data-panel-icon': panelIcon
51
51
  });
@@ -40,7 +40,7 @@ export const panelAttrsToDom = (attrs, allowCustomPanel) => {
40
40
  }
41
41
  // Required for parseDOM to correctly parse custom panel when NodeView DOM is copied directly
42
42
  // Schema's parseDOM expects data-panel-icon on all custom panels, not just ones with color
43
- if (isCustomPanel && expValEquals('platform_editor_copy_paste_issue_fix', 'isEnabled', true)) {
43
+ if (isCustomPanel) {
44
44
  panelAttrs = {
45
45
  ...panelAttrs,
46
46
  'data-panel-icon': panelIcon
@@ -38,7 +38,7 @@ export var panelAttrsToDom = function panelAttrsToDom(attrs, allowCustomPanel) {
38
38
  }
39
39
  // Required for parseDOM to correctly parse custom panel when NodeView DOM is copied directly
40
40
  // Schema's parseDOM expects data-panel-icon on all custom panels, not just ones with color
41
- if (isCustomPanel && expValEquals('platform_editor_copy_paste_issue_fix', 'isEnabled', true)) {
41
+ if (isCustomPanel) {
42
42
  panelAttrs = _objectSpread(_objectSpread({}, panelAttrs), {}, {
43
43
  'data-panel-icon': panelIcon
44
44
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "12.0.4",
3
+ "version": "12.0.5",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -38,16 +38,16 @@
38
38
  "@atlaskit/editor-prosemirror": "^7.3.0",
39
39
  "@atlaskit/editor-shared-styles": "^3.10.0",
40
40
  "@atlaskit/editor-toolbar": "^1.0.0",
41
- "@atlaskit/emoji": "^70.1.0",
41
+ "@atlaskit/emoji": "^70.2.0",
42
42
  "@atlaskit/icon": "^34.3.0",
43
43
  "@atlaskit/platform-feature-flags": "^1.1.0",
44
- "@atlaskit/tmp-editor-statsig": "^66.0.0",
44
+ "@atlaskit/tmp-editor-statsig": "^67.0.0",
45
45
  "@atlaskit/tokens": "^13.0.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "uuid": "^3.1.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@atlaskit/editor-common": "^114.7.0",
50
+ "@atlaskit/editor-common": "^114.8.0",
51
51
  "react": "^18.2.0",
52
52
  "react-dom": "^18.2.0",
53
53
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"