@atlaskit/editor-plugin-highlight 19.0.6 → 19.0.7

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-highlight
2
2
 
3
+ ## 19.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2a3bb6864b8fe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2a3bb6864b8fe) -
8
+ Clean up the `platform_editor_fix_selection_text_color_change` experiment.
9
+ - Updated dependencies
10
+
3
11
  ## 19.0.6
4
12
 
5
13
  ### Patch Changes
@@ -18,7 +18,7 @@ var _color = require("./color");
18
18
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
19
19
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
20
20
  var maybeSyncSelectionAfterFormat = function maybeSyncSelectionAfterFormat(tr) {
21
- if (tr.docChanged && (0, _expValEquals.expValEquals)('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
21
+ if (tr.docChanged) {
22
22
  tr.setMeta(_selection.FORMAT_SELECTION_SYNC_META, true);
23
23
  }
24
24
  };
@@ -8,7 +8,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
8
8
  import { HighlightPluginAction, highlightPluginKey } from '../pm-plugins/main';
9
9
  import { getActiveColor } from './color';
10
10
  const maybeSyncSelectionAfterFormat = tr => {
11
- if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
11
+ if (tr.docChanged) {
12
12
  tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
13
13
  }
14
14
  };
@@ -11,7 +11,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
11
11
  import { HighlightPluginAction, highlightPluginKey } from '../pm-plugins/main';
12
12
  import { getActiveColor } from './color';
13
13
  var maybeSyncSelectionAfterFormat = function maybeSyncSelectionAfterFormat(tr) {
14
- if (tr.docChanged && expValEquals('platform_editor_fix_selection_text_color_change', 'isEnabled', true)) {
14
+ if (tr.docChanged) {
15
15
  tr.setMeta(FORMAT_SELECTION_SYNC_META, true);
16
16
  }
17
17
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-highlight",
3
- "version": "19.0.6",
3
+ "version": "19.0.7",
4
4
  "description": "Highlight plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,13 +45,13 @@
45
45
  "@atlaskit/platform-feature-experiments": "^0.3.0",
46
46
  "@atlaskit/platform-feature-flags": "^2.2.0",
47
47
  "@atlaskit/primitives": "^22.5.0",
48
- "@atlaskit/tmp-editor-statsig": "^202.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^203.0.0",
49
49
  "@atlaskit/tokens": "^19.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1"
52
52
  },
53
53
  "peerDependencies": {
54
- "@atlaskit/editor-common": "^123.7.0",
54
+ "@atlaskit/editor-common": "^123.8.0",
55
55
  "react": "^18.2.0 || ^19.2.0",
56
56
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
57
57
  },