@atlaskit/editor-plugin-emoji 7.6.3 → 7.6.6

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,29 @@
1
1
  # @atlaskit/editor-plugin-emoji
2
2
 
3
+ ## 7.6.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
8
+ EDITOR-2791 bump adf-schema
9
+ - Updated dependencies
10
+
11
+ ## 7.6.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [`236fe86fc7b5e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/236fe86fc7b5e) -
16
+ NOISSUE: fix emoji node view error logging
17
+ - Updated dependencies
18
+
19
+ ## 7.6.4
20
+
21
+ ### Patch Changes
22
+
23
+ - [`4cab7924c4af0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4cab7924c4af0) -
24
+ [ux] Clean up editor_inline_comments_paste_insert_nodes
25
+ - Updated dependencies
26
+
3
27
  ## 7.6.3
4
28
 
5
29
  ### Patch Changes
@@ -1,19 +1,14 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.insertEmoji = exports.createEmojiFragment = void 0;
8
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
7
  var _analytics = require("@atlaskit/editor-common/analytics");
10
8
  var _utils = require("@atlaskit/editor-common/utils");
11
9
  var _model = require("@atlaskit/editor-prosemirror/model");
12
10
  var _state = require("@atlaskit/editor-prosemirror/state");
13
11
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
- 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; }
16
- 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; }
17
12
  var createEmojiFragment = exports.createEmojiFragment = function createEmojiFragment(doc, pos, emoji) {
18
13
  var _emoji$id = emoji.id,
19
14
  id = _emoji$id === void 0 ? '' : _emoji$id,
@@ -36,16 +31,7 @@ var insertEmoji = exports.insertEmoji = function insertEmoji(editorAnalyticsAPI)
36
31
  selection = tr.selection;
37
32
  var emoji = tr.doc.type.schema.nodes.emoji;
38
33
  if (emoji && emojiId) {
39
- var fragment;
40
- if ((0, _platformFeatureFlags.fg)('editor_inline_comments_paste_insert_nodes')) {
41
- fragment = createEmojiFragment(doc, selection.$head, emojiId);
42
- } else {
43
- var node = emoji.createChecked(_objectSpread(_objectSpread({}, emojiId), {}, {
44
- text: emojiId.fallback || emojiId.shortName
45
- }));
46
- var textNode = doc.type.schema.text(' ');
47
- fragment = _model.Fragment.fromArray([node, textNode]);
48
- }
34
+ var fragment = createEmojiFragment(doc, selection.$head, emojiId);
49
35
  var newTr = (0, _utils2.safeInsert)(fragment)(tr);
50
36
  if (inputMethod) {
51
37
  editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
@@ -19,11 +19,9 @@ var _quickInsert = require("@atlaskit/editor-common/quick-insert");
19
19
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
20
20
  var _typeAhead = require("@atlaskit/editor-common/type-ahead");
21
21
  var _utils = require("@atlaskit/editor-common/utils");
22
- var _model = require("@atlaskit/editor-prosemirror/model");
23
22
  var _state = require("@atlaskit/editor-prosemirror/state");
24
23
  var _emoji2 = require("@atlaskit/emoji");
25
24
  var _comment = _interopRequireDefault(require("@atlaskit/icon/core/comment"));
26
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
27
25
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
26
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
29
27
  var _insertEmoji = require("./editor-commands/insert-emoji");
@@ -177,24 +175,7 @@ var emojiPlugin = exports.emojiPlugin = function emojiPlugin(_ref2) {
177
175
  createAnalyticsEvent: (_api$analytics$shared2 = api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.sharedState.currentState()) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.createAnalyticsEvent) !== null && _api$analytics$shared2 !== void 0 ? _api$analytics$shared2 : undefined
178
176
  }));
179
177
  }
180
- var fragment;
181
- if ((0, _platformFeatureFlags.fg)('editor_inline_comments_paste_insert_nodes')) {
182
- fragment = (0, _insertEmoji.createEmojiFragment)(state.doc, state.selection.$head, item.emoji);
183
- } else {
184
- var _item$emoji = item.emoji,
185
- _item$emoji$id = _item$emoji.id,
186
- id = _item$emoji$id === void 0 ? '' : _item$emoji$id,
187
- fallback = _item$emoji.fallback,
188
- shortName = _item$emoji.shortName;
189
- var text = fallback || shortName;
190
- var emojiNode = state.schema.nodes.emoji.createChecked({
191
- shortName: shortName,
192
- id: id,
193
- text: text
194
- });
195
- var space = state.schema.text(' ');
196
- fragment = _model.Fragment.from([emojiNode, space]);
197
- }
178
+ var fragment = (0, _insertEmoji.createEmojiFragment)(state.doc, state.selection.$head, item.emoji);
198
179
  var tr = insert(fragment);
199
180
  api === null || api === void 0 || (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 || _api$analytics3.actions.attachAnalyticsEvent({
200
181
  action: _analytics.ACTION.INSERTED,
@@ -78,24 +78,22 @@ var EmojiNodeView = exports.EmojiNodeView = /*#__PURE__*/function () {
78
78
  _this.renderFallback();
79
79
  return;
80
80
  }
81
- var emojiDescription = payload.data;
82
- if (!emojiDescription) {
83
- EmojiNodeView.logError(new Error('Emoji description is not loaded'));
81
+ var optionalEmojiDescription = payload.data;
82
+ if (!optionalEmojiDescription) {
84
83
  _this.renderFallback();
85
84
  return;
86
85
  }
87
- var emojiRepresentation = emojiDescription === null || emojiDescription === void 0 ? void 0 : emojiDescription.representation;
86
+ var emojiRepresentation = optionalEmojiDescription === null || optionalEmojiDescription === void 0 ? void 0 : optionalEmojiDescription.representation;
88
87
  if (!EmojiNodeView.isEmojiRepresentationSupported(emojiRepresentation)) {
89
- EmojiNodeView.logError(new Error('Emoji representation is not supported'));
90
88
  _this.renderFallback();
91
89
  return;
92
90
  }
93
- if ((0, _isEqual.default)(previousEmojiDescription, emojiDescription)) {
91
+ if ((0, _isEqual.default)(previousEmojiDescription, optionalEmojiDescription)) {
94
92
  // Do not re-render if the emoji description is the same as before
95
93
  return;
96
94
  }
97
- previousEmojiDescription = emojiDescription;
98
- _this.renderEmoji(emojiDescription, emojiRepresentation);
95
+ previousEmojiDescription = optionalEmojiDescription;
96
+ _this.renderEmoji(optionalEmojiDescription, emojiRepresentation);
99
97
  });
100
98
  } else {
101
99
  var _api$emoji, _sharedState$currentS, _api$connectivity;
@@ -3,7 +3,6 @@ import { getAnnotationMarksForPos } from '@atlaskit/editor-common/utils';
3
3
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
4
4
  import { Selection } from '@atlaskit/editor-prosemirror/state';
5
5
  import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  export const createEmojiFragment = (doc, pos, emoji) => {
8
7
  const {
9
8
  id = '',
@@ -31,17 +30,7 @@ export const insertEmoji = editorAnalyticsAPI => (emojiId, inputMethod) => {
31
30
  emoji
32
31
  } = tr.doc.type.schema.nodes;
33
32
  if (emoji && emojiId) {
34
- let fragment;
35
- if (fg('editor_inline_comments_paste_insert_nodes')) {
36
- fragment = createEmojiFragment(doc, selection.$head, emojiId);
37
- } else {
38
- const node = emoji.createChecked({
39
- ...emojiId,
40
- text: emojiId.fallback || emojiId.shortName
41
- });
42
- const textNode = doc.type.schema.text(' ');
43
- fragment = Fragment.fromArray([node, textNode]);
44
- }
33
+ const fragment = createEmojiFragment(doc, selection.$head, emojiId);
45
34
  const newTr = safeInsert(fragment)(tr);
46
35
  if (inputMethod) {
47
36
  editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent({
@@ -6,11 +6,9 @@ import { IconEmoji } from '@atlaskit/editor-common/quick-insert';
6
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
7
7
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
8
8
  import { calculateToolbarPositionAboveSelection } from '@atlaskit/editor-common/utils';
9
- import { Fragment } from '@atlaskit/editor-prosemirror/model';
10
9
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
11
10
  import { EmojiTypeAheadItem, preloadEmojiPicker, recordSelectionFailedSli, recordSelectionSucceededSli, SearchSort } from '@atlaskit/emoji';
12
11
  import CommentIcon from '@atlaskit/icon/core/comment';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
15
13
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
14
  import { createEmojiFragment, insertEmoji } from './editor-commands/insert-emoji';
@@ -155,24 +153,7 @@ export const emojiPlugin = ({
155
153
  createAnalyticsEvent: (_api$analytics$shared3 = api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : (_api$analytics2$share = _api$analytics2.sharedState.currentState()) === null || _api$analytics2$share === void 0 ? void 0 : _api$analytics2$share.createAnalyticsEvent) !== null && _api$analytics$shared3 !== void 0 ? _api$analytics$shared3 : undefined
156
154
  }));
157
155
  }
158
- let fragment;
159
- if (fg('editor_inline_comments_paste_insert_nodes')) {
160
- fragment = createEmojiFragment(state.doc, state.selection.$head, item.emoji);
161
- } else {
162
- const {
163
- id = '',
164
- fallback,
165
- shortName
166
- } = item.emoji;
167
- const text = fallback || shortName;
168
- const emojiNode = state.schema.nodes.emoji.createChecked({
169
- shortName,
170
- id,
171
- text
172
- });
173
- const space = state.schema.text(' ');
174
- fragment = Fragment.from([emojiNode, space]);
175
- }
156
+ const fragment = createEmojiFragment(state.doc, state.selection.$head, item.emoji);
176
157
  const tr = insert(fragment);
177
158
  api === null || api === void 0 ? void 0 : (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions.attachAnalyticsEvent({
178
159
  action: ACTION.INSERTED,
@@ -72,24 +72,22 @@ export class EmojiNodeView {
72
72
  this.renderFallback();
73
73
  return;
74
74
  }
75
- const emojiDescription = payload.data;
76
- if (!emojiDescription) {
77
- EmojiNodeView.logError(new Error('Emoji description is not loaded'));
75
+ const optionalEmojiDescription = payload.data;
76
+ if (!optionalEmojiDescription) {
78
77
  this.renderFallback();
79
78
  return;
80
79
  }
81
- const emojiRepresentation = emojiDescription === null || emojiDescription === void 0 ? void 0 : emojiDescription.representation;
80
+ const emojiRepresentation = optionalEmojiDescription === null || optionalEmojiDescription === void 0 ? void 0 : optionalEmojiDescription.representation;
82
81
  if (!EmojiNodeView.isEmojiRepresentationSupported(emojiRepresentation)) {
83
- EmojiNodeView.logError(new Error('Emoji representation is not supported'));
84
82
  this.renderFallback();
85
83
  return;
86
84
  }
87
- if (isEqual(previousEmojiDescription, emojiDescription)) {
85
+ if (isEqual(previousEmojiDescription, optionalEmojiDescription)) {
88
86
  // Do not re-render if the emoji description is the same as before
89
87
  return;
90
88
  }
91
- previousEmojiDescription = emojiDescription;
92
- this.renderEmoji(emojiDescription, emojiRepresentation);
89
+ previousEmojiDescription = optionalEmojiDescription;
90
+ this.renderEmoji(optionalEmojiDescription, emojiRepresentation);
93
91
  });
94
92
  } else {
95
93
  var _api$emoji, _sharedState$currentS, _api$connectivity;
@@ -1,12 +1,8 @@
1
- import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
- 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; }
3
- 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) { _defineProperty(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; }
4
1
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
5
2
  import { getAnnotationMarksForPos } from '@atlaskit/editor-common/utils';
6
3
  import { Fragment } from '@atlaskit/editor-prosemirror/model';
7
4
  import { Selection } from '@atlaskit/editor-prosemirror/state';
8
5
  import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
6
  export var createEmojiFragment = function createEmojiFragment(doc, pos, emoji) {
11
7
  var _emoji$id = emoji.id,
12
8
  id = _emoji$id === void 0 ? '' : _emoji$id,
@@ -29,16 +25,7 @@ export var insertEmoji = function insertEmoji(editorAnalyticsAPI) {
29
25
  selection = tr.selection;
30
26
  var emoji = tr.doc.type.schema.nodes.emoji;
31
27
  if (emoji && emojiId) {
32
- var fragment;
33
- if (fg('editor_inline_comments_paste_insert_nodes')) {
34
- fragment = createEmojiFragment(doc, selection.$head, emojiId);
35
- } else {
36
- var node = emoji.createChecked(_objectSpread(_objectSpread({}, emojiId), {}, {
37
- text: emojiId.fallback || emojiId.shortName
38
- }));
39
- var textNode = doc.type.schema.text(' ');
40
- fragment = Fragment.fromArray([node, textNode]);
41
- }
28
+ var fragment = createEmojiFragment(doc, selection.$head, emojiId);
42
29
  var newTr = safeInsert(fragment)(tr);
43
30
  if (inputMethod) {
44
31
  editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent({
@@ -11,11 +11,9 @@ import { IconEmoji } from '@atlaskit/editor-common/quick-insert';
11
11
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
12
12
  import { TypeAheadAvailableNodes } from '@atlaskit/editor-common/type-ahead';
13
13
  import { calculateToolbarPositionAboveSelection } from '@atlaskit/editor-common/utils';
14
- import { Fragment } from '@atlaskit/editor-prosemirror/model';
15
14
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
16
15
  import { EmojiTypeAheadItem, preloadEmojiPicker, recordSelectionFailedSli, recordSelectionSucceededSli, SearchSort } from '@atlaskit/emoji';
17
16
  import CommentIcon from '@atlaskit/icon/core/comment';
18
- import { fg } from '@atlaskit/platform-feature-flags';
19
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
20
18
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
21
19
  import { createEmojiFragment, insertEmoji } from './editor-commands/insert-emoji';
@@ -166,24 +164,7 @@ export var emojiPlugin = function emojiPlugin(_ref2) {
166
164
  createAnalyticsEvent: (_api$analytics$shared2 = api === null || api === void 0 || (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 || (_api$analytics2 = _api$analytics2.sharedState.currentState()) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.createAnalyticsEvent) !== null && _api$analytics$shared2 !== void 0 ? _api$analytics$shared2 : undefined
167
165
  }));
168
166
  }
169
- var fragment;
170
- if (fg('editor_inline_comments_paste_insert_nodes')) {
171
- fragment = createEmojiFragment(state.doc, state.selection.$head, item.emoji);
172
- } else {
173
- var _item$emoji = item.emoji,
174
- _item$emoji$id = _item$emoji.id,
175
- id = _item$emoji$id === void 0 ? '' : _item$emoji$id,
176
- fallback = _item$emoji.fallback,
177
- shortName = _item$emoji.shortName;
178
- var text = fallback || shortName;
179
- var emojiNode = state.schema.nodes.emoji.createChecked({
180
- shortName: shortName,
181
- id: id,
182
- text: text
183
- });
184
- var space = state.schema.text(' ');
185
- fragment = Fragment.from([emojiNode, space]);
186
- }
167
+ var fragment = createEmojiFragment(state.doc, state.selection.$head, item.emoji);
187
168
  var tr = insert(fragment);
188
169
  api === null || api === void 0 || (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 || _api$analytics3.actions.attachAnalyticsEvent({
189
170
  action: ACTION.INSERTED,
@@ -70,24 +70,22 @@ export var EmojiNodeView = /*#__PURE__*/function () {
70
70
  _this.renderFallback();
71
71
  return;
72
72
  }
73
- var emojiDescription = payload.data;
74
- if (!emojiDescription) {
75
- EmojiNodeView.logError(new Error('Emoji description is not loaded'));
73
+ var optionalEmojiDescription = payload.data;
74
+ if (!optionalEmojiDescription) {
76
75
  _this.renderFallback();
77
76
  return;
78
77
  }
79
- var emojiRepresentation = emojiDescription === null || emojiDescription === void 0 ? void 0 : emojiDescription.representation;
78
+ var emojiRepresentation = optionalEmojiDescription === null || optionalEmojiDescription === void 0 ? void 0 : optionalEmojiDescription.representation;
80
79
  if (!EmojiNodeView.isEmojiRepresentationSupported(emojiRepresentation)) {
81
- EmojiNodeView.logError(new Error('Emoji representation is not supported'));
82
80
  _this.renderFallback();
83
81
  return;
84
82
  }
85
- if (isEqual(previousEmojiDescription, emojiDescription)) {
83
+ if (isEqual(previousEmojiDescription, optionalEmojiDescription)) {
86
84
  // Do not re-render if the emoji description is the same as before
87
85
  return;
88
86
  }
89
- previousEmojiDescription = emojiDescription;
90
- _this.renderEmoji(emojiDescription, emojiRepresentation);
87
+ previousEmojiDescription = optionalEmojiDescription;
88
+ _this.renderEmoji(optionalEmojiDescription, emojiRepresentation);
91
89
  });
92
90
  } else {
93
91
  var _api$emoji, _sharedState$currentS, _api$connectivity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-emoji",
3
- "version": "7.6.3",
3
+ "version": "7.6.6",
4
4
  "description": "Emoji plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -21,7 +21,7 @@
21
21
  "singleton": true
22
22
  },
23
23
  "dependencies": {
24
- "@atlaskit/adf-schema": "^51.3.2",
24
+ "@atlaskit/adf-schema": "^51.4.0",
25
25
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
26
26
  "@atlaskit/editor-plugin-annotation": "^6.2.0",
27
27
  "@atlaskit/editor-plugin-base": "^7.2.0",
@@ -29,14 +29,14 @@
29
29
  "@atlaskit/editor-plugin-metrics": "^7.1.0",
30
30
  "@atlaskit/editor-plugin-type-ahead": "^6.5.0",
31
31
  "@atlaskit/editor-prosemirror": "7.0.0",
32
- "@atlaskit/editor-shared-styles": "^3.9.0",
32
+ "@atlaskit/editor-shared-styles": "^3.10.0",
33
33
  "@atlaskit/emoji": "^69.8.0",
34
34
  "@atlaskit/icon": "^29.0.0",
35
35
  "@atlaskit/node-data-provider": "^7.5.0",
36
36
  "@atlaskit/platform-feature-flags": "^1.1.0",
37
37
  "@atlaskit/prosemirror-input-rules": "^3.6.0",
38
38
  "@atlaskit/theme": "^21.0.0",
39
- "@atlaskit/tmp-editor-statsig": "^13.37.0",
39
+ "@atlaskit/tmp-editor-statsig": "^13.38.0",
40
40
  "@atlaskit/tokens": "^8.0.0",
41
41
  "@babel/runtime": "^7.0.0",
42
42
  "@emotion/react": "^11.7.1",
@@ -45,7 +45,7 @@
45
45
  "react-loadable": "^5.1.0"
46
46
  },
47
47
  "peerDependencies": {
48
- "@atlaskit/editor-common": "^110.28.0",
48
+ "@atlaskit/editor-common": "^110.32.0",
49
49
  "react": "^18.2.0",
50
50
  "react-dom": "^18.2.0"
51
51
  },
@@ -102,9 +102,6 @@
102
102
  }
103
103
  },
104
104
  "platform-feature-flags": {
105
- "editor_inline_comments_paste_insert_nodes": {
106
- "type": "boolean"
107
- },
108
105
  "platform_editor_ease_of_use_metrics": {
109
106
  "type": "boolean"
110
107
  },