@atlaskit/editor-core 220.2.2 → 220.2.3

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,15 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 220.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`676198a68986c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/676198a68986c) -
8
+ Cleanup feature gate `platform_editor_prosemirror_rendered_data`. The ProseMirror rendered
9
+ analytics event now always includes page-load metadata, timing values, extension keys, and the UFO
10
+ interaction ID.
11
+ - Updated dependencies
12
+
3
13
  ## 220.2.2
4
14
 
5
15
  ### Patch Changes
@@ -39,7 +39,6 @@ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
39
39
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
40
40
  var _useProviders = require("../composable-editor/hooks/useProviders");
41
41
  var _featureFlagsFromProps = require("../utils/feature-flags-from-props");
42
- var _getNodesCount = require("../utils/getNodesCount");
43
42
  var _getNodesCountWithExtensionKeys = require("../utils/getNodesCountWithExtensionKeys");
44
43
  var _getNodesVisibleInViewport = require("../utils/getNodesVisibleInViewport");
45
44
  var _isChromeless = require("../utils/is-chromeless");
@@ -679,9 +678,10 @@ function ReactEditorView(props) {
679
678
  distortedDuration = _ref3.distortedDuration;
680
679
  var proseMirrorRenderedSeverity = (0, _analytics2.getAnalyticsEventSeverity)(duration, _consts.PROSEMIRROR_RENDERED_NORMAL_SEVERITY_THRESHOLD, _consts.PROSEMIRROR_RENDERED_DEGRADED_SEVERITY_THRESHOLD);
681
680
  if (viewRef.current) {
682
- var _nodesAndExtensionKey, _pluginInjectionAPI$c2;
683
- var nodesAndExtensionKeys = (0, _expValEquals.expValEquals)('platform_editor_prosemirror_rendered_data', 'isEnabled', true) ? (0, _getNodesCountWithExtensionKeys.getNodesCountWithExtensionKeys)(viewRef.current.state.doc) : undefined;
684
- var nodes = (_nodesAndExtensionKey = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.nodes) !== null && _nodesAndExtensionKey !== void 0 ? _nodesAndExtensionKey : (0, _getNodesCount.getNodesCount)(viewRef.current.state.doc);
681
+ var _pluginInjectionAPI$c2;
682
+ var _getNodesCountWithExt = (0, _getNodesCountWithExtensionKeys.getNodesCountWithExtensionKeys)(viewRef.current.state.doc),
683
+ nodes = _getNodesCountWithExt.nodes,
684
+ extensionKeys = _getNodesCountWithExt.extensionKeys;
685
685
  var ttfb = (0, _navigation.getResponseEndTime)();
686
686
  var requestToResponseTime = (0, _navigation.getRequestToResponseTime)();
687
687
  var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
@@ -711,70 +711,46 @@ function ReactEditorView(props) {
711
711
  } : {},
712
712
  totalNodes = _ref4.totalNodes,
713
713
  nodeSizeBucket = _ref4.nodeSizeBucket;
714
- if ((0, _expValEquals.expValEquals)('platform_editor_prosemirror_rendered_data', 'isEnabled', true)) {
715
- var _nodesAndExtensionKey2;
716
- var extensionKeys = (_nodesAndExtensionKey2 = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.extensionKeys) !== null && _nodesAndExtensionKey2 !== void 0 ? _nodesAndExtensionKey2 : {};
717
- var interaction = (0, _interactionMetrics.getActiveInteraction)();
718
- var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
719
- var pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
720
- var timings = function () {
721
- if (requestToResponseTime === undefined && bootStartTime === undefined) {
722
- return undefined;
723
- }
724
- var timingValues = {};
725
- if (requestToResponseTime !== undefined) {
726
- timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
727
- }
728
- if (bootStartTime !== undefined) {
729
- timingValues.bootToRender = Math.round(startTime - bootStartTime);
730
- }
731
- return timingValues;
732
- }();
733
- var attributes = {
734
- duration: duration,
735
- startTime: startTime,
736
- nodes: nodes,
737
- nodesInViewport: nodesInViewport,
738
- nodeSize: nodeSize,
739
- nodeSizeBucket: nodeSizeBucket,
740
- totalNodes: totalNodes,
741
- ttfb: ttfb,
742
- severity: proseMirrorRenderedSeverity,
743
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
744
- distortedDuration: distortedDuration,
745
- pageLoadType: pageLoadType,
746
- pageType: pageType,
747
- timings: timings,
748
- extensionKeys: extensionKeys,
749
- ufoInteractionId: (0, _interactionIdContext.getInteractionId)().current
750
- };
751
- dispatchAnalyticsEvent({
752
- action: _analytics.ACTION.PROSEMIRROR_RENDERED,
753
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
754
- attributes: attributes,
755
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
756
- });
757
- } else {
758
- var _attributes = {
759
- duration: duration,
760
- startTime: startTime,
761
- nodes: nodes,
762
- nodesInViewport: nodesInViewport,
763
- nodeSize: nodeSize,
764
- nodeSizeBucket: nodeSizeBucket,
765
- totalNodes: totalNodes,
766
- ttfb: ttfb,
767
- severity: proseMirrorRenderedSeverity,
768
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
769
- distortedDuration: distortedDuration
770
- };
771
- dispatchAnalyticsEvent({
772
- action: _analytics.ACTION.PROSEMIRROR_RENDERED,
773
- actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
774
- attributes: _attributes,
775
- eventType: _analytics.EVENT_TYPE.OPERATIONAL
776
- });
777
- }
714
+ var interaction = (0, _interactionMetrics.getActiveInteraction)();
715
+ var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
716
+ var pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
717
+ var timings = function () {
718
+ if (requestToResponseTime === undefined && bootStartTime === undefined) {
719
+ return undefined;
720
+ }
721
+ var timingValues = {};
722
+ if (requestToResponseTime !== undefined) {
723
+ timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
724
+ }
725
+ if (bootStartTime !== undefined) {
726
+ timingValues.bootToRender = Math.round(startTime - bootStartTime);
727
+ }
728
+ return timingValues;
729
+ }();
730
+ var attributes = {
731
+ duration: duration,
732
+ startTime: startTime,
733
+ nodes: nodes,
734
+ nodesInViewport: nodesInViewport,
735
+ nodeSize: nodeSize,
736
+ nodeSizeBucket: nodeSizeBucket,
737
+ totalNodes: totalNodes,
738
+ ttfb: ttfb,
739
+ severity: proseMirrorRenderedSeverity,
740
+ objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
741
+ distortedDuration: distortedDuration,
742
+ pageLoadType: pageLoadType,
743
+ pageType: pageType,
744
+ timings: timings,
745
+ extensionKeys: extensionKeys,
746
+ ufoInteractionId: (0, _interactionIdContext.getInteractionId)().current
747
+ };
748
+ dispatchAnalyticsEvent({
749
+ action: _analytics.ACTION.PROSEMIRROR_RENDERED,
750
+ actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
751
+ attributes: attributes,
752
+ eventType: _analytics.EVENT_TYPE.OPERATIONAL
753
+ });
778
754
  }
779
755
  });
780
756
  pluginInjectionAPI.current.onEditorViewUpdated({
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.getNodesCount = getNodesCount;
7
- // When experiment platform_editor_prosemirror_rendered_data is removed, review whether this helper is still needed.
8
7
  function getNodesCount(node) {
9
8
  var count = {};
10
9
  node.nodesBetween(0, node.nodeSize - 2, function (node) {
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "220.2.1";
8
+ var version = exports.version = "220.2.2";
@@ -28,7 +28,6 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
28
28
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
29
29
  import { useProviders } from '../composable-editor/hooks/useProviders';
30
30
  import { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
31
- import { getNodesCount } from '../utils/getNodesCount';
32
31
  import { getNodesCountWithExtensionKeys } from '../utils/getNodesCountWithExtensionKeys';
33
32
  import { getNodesVisibleInViewport } from '../utils/getNodesVisibleInViewport';
34
33
  import { isChromeless } from '../utils/is-chromeless';
@@ -630,9 +629,11 @@ export function ReactEditorView(props) {
630
629
  }) => {
631
630
  const proseMirrorRenderedSeverity = getAnalyticsEventSeverity(duration, PROSEMIRROR_RENDERED_NORMAL_SEVERITY_THRESHOLD, PROSEMIRROR_RENDERED_DEGRADED_SEVERITY_THRESHOLD);
632
631
  if (viewRef.current) {
633
- var _nodesAndExtensionKey, _pluginInjectionAPI$c4;
634
- const nodesAndExtensionKeys = expValEquals('platform_editor_prosemirror_rendered_data', 'isEnabled', true) ? getNodesCountWithExtensionKeys(viewRef.current.state.doc) : undefined;
635
- const nodes = (_nodesAndExtensionKey = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.nodes) !== null && _nodesAndExtensionKey !== void 0 ? _nodesAndExtensionKey : getNodesCount(viewRef.current.state.doc);
632
+ var _pluginInjectionAPI$c4;
633
+ const {
634
+ nodes,
635
+ extensionKeys
636
+ } = getNodesCountWithExtensionKeys(viewRef.current.state.doc);
636
637
  const ttfb = getResponseEndTime();
637
638
  const requestToResponseTime = getRequestToResponseTime();
638
639
  const contextIdentifier = (_pluginInjectionAPI$c4 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c4 === void 0 ? void 0 : _pluginInjectionAPI$c4.sharedState.currentState();
@@ -661,70 +662,46 @@ export function ReactEditorView(props) {
661
662
  }
662
663
  })()
663
664
  } : {};
664
- if (expValEquals('platform_editor_prosemirror_rendered_data', 'isEnabled', true)) {
665
- var _nodesAndExtensionKey2;
666
- const extensionKeys = (_nodesAndExtensionKey2 = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.extensionKeys) !== null && _nodesAndExtensionKey2 !== void 0 ? _nodesAndExtensionKey2 : {};
667
- const interaction = getActiveInteraction();
668
- const pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
669
- const pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
670
- const timings = (() => {
671
- if (requestToResponseTime === undefined && bootStartTime === undefined) {
672
- return undefined;
673
- }
674
- const timingValues = {};
675
- if (requestToResponseTime !== undefined) {
676
- timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
677
- }
678
- if (bootStartTime !== undefined) {
679
- timingValues.bootToRender = Math.round(startTime - bootStartTime);
680
- }
681
- return timingValues;
682
- })();
683
- const attributes = {
684
- duration,
685
- startTime,
686
- nodes,
687
- nodesInViewport,
688
- nodeSize,
689
- nodeSizeBucket,
690
- totalNodes,
691
- ttfb,
692
- severity: proseMirrorRenderedSeverity,
693
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
694
- distortedDuration,
695
- pageLoadType,
696
- pageType,
697
- timings,
698
- extensionKeys,
699
- ufoInteractionId: getInteractionId().current
700
- };
701
- dispatchAnalyticsEvent({
702
- action: ACTION.PROSEMIRROR_RENDERED,
703
- actionSubject: ACTION_SUBJECT.EDITOR,
704
- attributes,
705
- eventType: EVENT_TYPE.OPERATIONAL
706
- });
707
- } else {
708
- const attributes = {
709
- duration,
710
- startTime,
711
- nodes,
712
- nodesInViewport,
713
- nodeSize,
714
- nodeSizeBucket,
715
- totalNodes,
716
- ttfb,
717
- severity: proseMirrorRenderedSeverity,
718
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
719
- distortedDuration
720
- };
721
- dispatchAnalyticsEvent({
722
- action: ACTION.PROSEMIRROR_RENDERED,
723
- actionSubject: ACTION_SUBJECT.EDITOR,
724
- attributes,
725
- eventType: EVENT_TYPE.OPERATIONAL
726
- });
727
- }
665
+ const interaction = getActiveInteraction();
666
+ const pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
667
+ const pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
668
+ const timings = (() => {
669
+ if (requestToResponseTime === undefined && bootStartTime === undefined) {
670
+ return undefined;
671
+ }
672
+ const timingValues = {};
673
+ if (requestToResponseTime !== undefined) {
674
+ timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
675
+ }
676
+ if (bootStartTime !== undefined) {
677
+ timingValues.bootToRender = Math.round(startTime - bootStartTime);
678
+ }
679
+ return timingValues;
680
+ })();
681
+ const attributes = {
682
+ duration,
683
+ startTime,
684
+ nodes,
685
+ nodesInViewport,
686
+ nodeSize,
687
+ nodeSizeBucket,
688
+ totalNodes,
689
+ ttfb,
690
+ severity: proseMirrorRenderedSeverity,
691
+ objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
692
+ distortedDuration,
693
+ pageLoadType,
694
+ pageType,
695
+ timings,
696
+ extensionKeys,
697
+ ufoInteractionId: getInteractionId().current
698
+ };
699
+ dispatchAnalyticsEvent({
700
+ action: ACTION.PROSEMIRROR_RENDERED,
701
+ actionSubject: ACTION_SUBJECT.EDITOR,
702
+ attributes,
703
+ eventType: EVENT_TYPE.OPERATIONAL
704
+ });
728
705
  }
729
706
  });
730
707
  pluginInjectionAPI.current.onEditorViewUpdated({
@@ -1,4 +1,3 @@
1
- // When experiment platform_editor_prosemirror_rendered_data is removed, review whether this helper is still needed.
2
1
  export function getNodesCount(node) {
3
2
  const count = {};
4
3
  node.nodesBetween(0, node.nodeSize - 2, node => {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "220.2.1";
2
+ export const version = "220.2.2";
@@ -36,7 +36,6 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
36
36
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
37
37
  import { useProviders } from '../composable-editor/hooks/useProviders';
38
38
  import { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
39
- import { getNodesCount } from '../utils/getNodesCount';
40
39
  import { getNodesCountWithExtensionKeys } from '../utils/getNodesCountWithExtensionKeys';
41
40
  import { getNodesVisibleInViewport } from '../utils/getNodesVisibleInViewport';
42
41
  import { isChromeless } from '../utils/is-chromeless';
@@ -670,9 +669,10 @@ export function ReactEditorView(props) {
670
669
  distortedDuration = _ref3.distortedDuration;
671
670
  var proseMirrorRenderedSeverity = getAnalyticsEventSeverity(duration, PROSEMIRROR_RENDERED_NORMAL_SEVERITY_THRESHOLD, PROSEMIRROR_RENDERED_DEGRADED_SEVERITY_THRESHOLD);
672
671
  if (viewRef.current) {
673
- var _nodesAndExtensionKey, _pluginInjectionAPI$c2;
674
- var nodesAndExtensionKeys = expValEquals('platform_editor_prosemirror_rendered_data', 'isEnabled', true) ? getNodesCountWithExtensionKeys(viewRef.current.state.doc) : undefined;
675
- var nodes = (_nodesAndExtensionKey = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.nodes) !== null && _nodesAndExtensionKey !== void 0 ? _nodesAndExtensionKey : getNodesCount(viewRef.current.state.doc);
672
+ var _pluginInjectionAPI$c2;
673
+ var _getNodesCountWithExt = getNodesCountWithExtensionKeys(viewRef.current.state.doc),
674
+ nodes = _getNodesCountWithExt.nodes,
675
+ extensionKeys = _getNodesCountWithExt.extensionKeys;
676
676
  var ttfb = getResponseEndTime();
677
677
  var requestToResponseTime = getRequestToResponseTime();
678
678
  var contextIdentifier = (_pluginInjectionAPI$c2 = pluginInjectionAPI.current.api().base) === null || _pluginInjectionAPI$c2 === void 0 ? void 0 : _pluginInjectionAPI$c2.sharedState.currentState();
@@ -702,70 +702,46 @@ export function ReactEditorView(props) {
702
702
  } : {},
703
703
  totalNodes = _ref4.totalNodes,
704
704
  nodeSizeBucket = _ref4.nodeSizeBucket;
705
- if (expValEquals('platform_editor_prosemirror_rendered_data', 'isEnabled', true)) {
706
- var _nodesAndExtensionKey2;
707
- var extensionKeys = (_nodesAndExtensionKey2 = nodesAndExtensionKeys === null || nodesAndExtensionKeys === void 0 ? void 0 : nodesAndExtensionKeys.extensionKeys) !== null && _nodesAndExtensionKey2 !== void 0 ? _nodesAndExtensionKey2 : {};
708
- var interaction = getActiveInteraction();
709
- var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
710
- var pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
711
- var timings = function () {
712
- if (requestToResponseTime === undefined && bootStartTime === undefined) {
713
- return undefined;
714
- }
715
- var timingValues = {};
716
- if (requestToResponseTime !== undefined) {
717
- timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
718
- }
719
- if (bootStartTime !== undefined) {
720
- timingValues.bootToRender = Math.round(startTime - bootStartTime);
721
- }
722
- return timingValues;
723
- }();
724
- var attributes = {
725
- duration: duration,
726
- startTime: startTime,
727
- nodes: nodes,
728
- nodesInViewport: nodesInViewport,
729
- nodeSize: nodeSize,
730
- nodeSizeBucket: nodeSizeBucket,
731
- totalNodes: totalNodes,
732
- ttfb: ttfb,
733
- severity: proseMirrorRenderedSeverity,
734
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
735
- distortedDuration: distortedDuration,
736
- pageLoadType: pageLoadType,
737
- pageType: pageType,
738
- timings: timings,
739
- extensionKeys: extensionKeys,
740
- ufoInteractionId: getInteractionId().current
741
- };
742
- dispatchAnalyticsEvent({
743
- action: ACTION.PROSEMIRROR_RENDERED,
744
- actionSubject: ACTION_SUBJECT.EDITOR,
745
- attributes: attributes,
746
- eventType: EVENT_TYPE.OPERATIONAL
747
- });
748
- } else {
749
- var _attributes = {
750
- duration: duration,
751
- startTime: startTime,
752
- nodes: nodes,
753
- nodesInViewport: nodesInViewport,
754
- nodeSize: nodeSize,
755
- nodeSizeBucket: nodeSizeBucket,
756
- totalNodes: totalNodes,
757
- ttfb: ttfb,
758
- severity: proseMirrorRenderedSeverity,
759
- objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
760
- distortedDuration: distortedDuration
761
- };
762
- dispatchAnalyticsEvent({
763
- action: ACTION.PROSEMIRROR_RENDERED,
764
- actionSubject: ACTION_SUBJECT.EDITOR,
765
- attributes: _attributes,
766
- eventType: EVENT_TYPE.OPERATIONAL
767
- });
768
- }
705
+ var interaction = getActiveInteraction();
706
+ var pageLoadType = interaction === null || interaction === void 0 ? void 0 : interaction.type;
707
+ var pageType = interaction === null || interaction === void 0 ? void 0 : interaction.routeName;
708
+ var timings = function () {
709
+ if (requestToResponseTime === undefined && bootStartTime === undefined) {
710
+ return undefined;
711
+ }
712
+ var timingValues = {};
713
+ if (requestToResponseTime !== undefined) {
714
+ timingValues['requestStart->responseEnd'] = Math.round(requestToResponseTime);
715
+ }
716
+ if (bootStartTime !== undefined) {
717
+ timingValues.bootToRender = Math.round(startTime - bootStartTime);
718
+ }
719
+ return timingValues;
720
+ }();
721
+ var attributes = {
722
+ duration: duration,
723
+ startTime: startTime,
724
+ nodes: nodes,
725
+ nodesInViewport: nodesInViewport,
726
+ nodeSize: nodeSize,
727
+ nodeSizeBucket: nodeSizeBucket,
728
+ totalNodes: totalNodes,
729
+ ttfb: ttfb,
730
+ severity: proseMirrorRenderedSeverity,
731
+ objectId: contextIdentifier === null || contextIdentifier === void 0 ? void 0 : contextIdentifier.objectId,
732
+ distortedDuration: distortedDuration,
733
+ pageLoadType: pageLoadType,
734
+ pageType: pageType,
735
+ timings: timings,
736
+ extensionKeys: extensionKeys,
737
+ ufoInteractionId: getInteractionId().current
738
+ };
739
+ dispatchAnalyticsEvent({
740
+ action: ACTION.PROSEMIRROR_RENDERED,
741
+ actionSubject: ACTION_SUBJECT.EDITOR,
742
+ attributes: attributes,
743
+ eventType: EVENT_TYPE.OPERATIONAL
744
+ });
769
745
  }
770
746
  });
771
747
  pluginInjectionAPI.current.onEditorViewUpdated({
@@ -1,4 +1,3 @@
1
- // When experiment platform_editor_prosemirror_rendered_data is removed, review whether this helper is still needed.
2
1
  export function getNodesCount(node) {
3
2
  var count = {};
4
3
  node.nodesBetween(0, node.nodeSize - 2, function (node) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "220.2.1";
2
+ export var version = "220.2.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "220.2.2",
3
+ "version": "220.2.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -74,7 +74,7 @@
74
74
  "@atlaskit/platform-feature-flags-react": "^0.5.0",
75
75
  "@atlaskit/react-ufo": "^6.7.0",
76
76
  "@atlaskit/task-decision": "^20.1.0",
77
- "@atlaskit/tmp-editor-statsig": "^92.0.0",
77
+ "@atlaskit/tmp-editor-statsig": "^93.0.0",
78
78
  "@atlaskit/tokens": "^13.3.0",
79
79
  "@atlaskit/tooltip": "^22.6.0",
80
80
  "@atlaskit/width-detector": "^5.1.0",
@@ -108,7 +108,7 @@
108
108
  "@atlaskit/code": "^17.5.0",
109
109
  "@atlaskit/collab-provider": "^20.0.0",
110
110
  "@atlaskit/editor-plugin-annotation": "^11.0.0",
111
- "@atlaskit/editor-plugin-card": "^17.3.0",
111
+ "@atlaskit/editor-plugin-card": "^17.4.0",
112
112
  "@atlaskit/editor-plugin-list": "^13.0.0",
113
113
  "@atlaskit/editor-plugin-paste": "^12.1.0",
114
114
  "@atlaskit/editor-test-helpers": "workspace:^",