@atlaskit/editor-core 242.0.6 → 242.0.8

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,18 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 242.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 242.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [`4ea2dae5082a7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4ea2dae5082a7) -
14
+ Clean up experiment `fix_editor_blur_issue_exp`
15
+
3
16
  ## 242.0.6
4
17
 
5
18
  ### Patch Changes
@@ -282,10 +282,6 @@ function ReactEditorView(props) {
282
282
  // @ts-expect-error
283
283
  var sel = viewRef.current.root.getSelection();
284
284
  if (sel) {
285
- if (!(0, _isExperimentEnabled.isExperimentEnabled)('fix_editor_blur_issue_exp')) {
286
- sel.removeAllRanges();
287
- return;
288
- }
289
285
  if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
290
286
  sel.removeAllRanges();
291
287
  }
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "242.0.5";
9
+ var version = exports.version = "242.0.7";
@@ -257,10 +257,6 @@ export function ReactEditorView(props) {
257
257
  // @ts-expect-error
258
258
  const sel = viewRef.current.root.getSelection();
259
259
  if (sel) {
260
- if (!isExperimentEnabled('fix_editor_blur_issue_exp')) {
261
- sel.removeAllRanges();
262
- return;
263
- }
264
260
  if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
265
261
  sel.removeAllRanges();
266
262
  }
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "242.0.5";
3
+ export const version = "242.0.7";
@@ -273,10 +273,6 @@ export function ReactEditorView(props) {
273
273
  // @ts-expect-error
274
274
  var sel = viewRef.current.root.getSelection();
275
275
  if (sel) {
276
- if (!isExperimentEnabled('fix_editor_blur_issue_exp')) {
277
- sel.removeAllRanges();
278
- return;
279
- }
280
276
  if ((!sel.anchorNode || viewRef.current.dom.contains(sel.anchorNode)) && (!sel.focusNode || viewRef.current.dom.contains(sel.focusNode))) {
281
277
  sel.removeAllRanges();
282
278
  }
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "242.0.5";
3
+ export var version = "242.0.7";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "242.0.6",
3
+ "version": "242.0.8",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -75,7 +75,7 @@
75
75
  "@atlaskit/react-compiler-gating": "^0.2.0",
76
76
  "@atlaskit/react-ufo": "^8.3.0",
77
77
  "@atlaskit/task-decision": "^21.14.0",
78
- "@atlaskit/tmp-editor-statsig": "^250.0.0",
78
+ "@atlaskit/tmp-editor-statsig": "^251.0.0",
79
79
  "@atlaskit/tokens": "^20.9.0",
80
80
  "@atlaskit/tooltip": "^24.4.0",
81
81
  "@atlaskit/width-detector": "^7.2.0",