@atlaskit/editor-plugin-table 34.0.2 → 34.0.4

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,23 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 34.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`85394203c5e0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85394203c5e0a) -
8
+ Cleanup `platform_editor_markdown_compatible_toolbar`.
9
+ - Updated dependencies
10
+
11
+ ## 34.0.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [`a13383c3c99b2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a13383c3c99b2) -
16
+ [FFCLEANUP-192944] clean up code references to patch gates
17
+ `platform_editor_lovability_text_bg_color_patch_1` and
18
+ `platform_editor_lovability_text_bg_color_patch_2`.
19
+ - Updated dependencies
20
+
3
21
  ## 34.0.2
4
22
 
5
23
  ### Patch Changes
@@ -15,9 +15,7 @@ var _state = require("@atlaskit/editor-prosemirror/state");
15
15
  var _utils = require("@atlaskit/editor-prosemirror/utils");
16
16
  var _tableMap = require("@atlaskit/editor-tables/table-map");
17
17
  var _utils2 = require("@atlaskit/editor-tables/utils");
18
- var _fg = require("@atlaskit/platform-feature-flags/fg");
19
18
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
20
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
21
19
  var _commands = require("../analytics/commands");
22
20
  var _tableAnalytics = require("../table-analytics");
23
21
  var _columnWidth = require("../transforms/column-width");
@@ -274,15 +272,8 @@ var insertTableWithNestingSupport = exports.insertTableWithNestingSupport = func
274
272
  _ref2$createTableProp = _ref2.createTableProps,
275
273
  createTableProps = _ref2$createTableProp === void 0 ? {} : _ref2$createTableProp;
276
274
  return function (_ref3) {
277
- var _api$markdownMode, _api$contentInsertion, _tr$selection$$from$n2;
275
+ var _api$contentInsertion, _tr$selection$$from$n2;
278
276
  var tr = _ref3.tr;
279
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
280
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
281
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar')) {
282
- var _api$markdownMode2;
283
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable(createTableProps.rowsCount, createTableProps.colsCount);
284
- return tr;
285
- }
286
277
  var schema = tr.doc.type.schema;
287
278
 
288
279
  // If the cursor is inside a table
@@ -24,7 +24,6 @@ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-ex
24
24
  var _fg = require("@atlaskit/platform-feature-flags/fg");
25
25
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
26
26
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
27
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
28
27
  var _toDOM = require("./nodeviews/toDOM");
29
28
  var _plugin = require("./pm-plugins/active-cell-highlight/plugin");
30
29
  var _plugin2 = require("./pm-plugins/analytics/plugin");
@@ -569,7 +568,7 @@ var tablePlugin = function tablePlugin(_ref) {
569
568
  return /*#__PURE__*/_react.default.createElement(_icons.IconTable, null);
570
569
  },
571
570
  action: function action(insert, state) {
572
- var _api$markdownMode, _api$table, _options$tableOptions6, _tr$selection$$from$n;
571
+ var _api$table, _options$tableOptions6, _tr$selection$$from$n;
573
572
  // Keep this legacy path aligned with insertTableFromQuickInsert during rollout.
574
573
  if (isTableSelectorEnabled) {
575
574
  var _tr = insert('');
@@ -579,14 +578,6 @@ var tablePlugin = function tablePlugin(_ref) {
579
578
  return _tr;
580
579
  }
581
580
 
582
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
583
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
584
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar')) {
585
- var _api$markdownMode2;
586
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable();
587
- return state.tr;
588
- }
589
-
590
581
  // see comment on tablesPlugin.getSharedState on usage
591
582
  var tableState = api === null || api === void 0 || (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
592
583
  var tableNodeProps = {
@@ -38,7 +38,6 @@ var _tableColumnDelete = _interopRequireDefault(require("@atlaskit/icon/core/tab
38
38
  var _tableColumnsDistribute = _interopRequireDefault(require("@atlaskit/icon/core/table-columns-distribute"));
39
39
  var _tableRowAddBelow = _interopRequireDefault(require("@atlaskit/icon/core/table-row-add-below"));
40
40
  var _tableRowDelete = _interopRequireDefault(require("@atlaskit/icon/core/table-row-delete"));
41
- var _fg = require("@atlaskit/platform-feature-flags/fg");
42
41
  var _primitives = require("@atlaskit/primitives");
43
42
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
44
43
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -134,7 +133,7 @@ var ContextualMenu = exports.ContextualMenu = /*#__PURE__*/function (_Component)
134
133
  var _node$attrs, _node$attrs2;
135
134
  var node = isOpen && targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
136
135
  var background = (0, _editorPalette.hexToEditorBackgroundPaletteColor)((node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
137
- var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_2');
136
+ var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true);
138
137
  var activePalette = isMoreColorsEnabled ? _uiColor.cellBackgroundColorPaletteNew : _uiColor.cellBackgroundColorPalette;
139
138
  var activeCols = isMoreColorsEnabled ? _consts.colorPaletteColumns : _consts.colorPalletteColumns;
140
139
  var selectedRowAndColumnFromPalette = (0, _uiColor.getSelectedRowAndColumnFromPalette)(activePalette,
@@ -23,7 +23,6 @@ var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
23
23
  var _tableMap = require("@atlaskit/editor-tables/table-map");
24
24
  var _utils2 = require("@atlaskit/editor-tables/utils");
25
25
  var _paintBucket = _interopRequireDefault(require("@atlaskit/icon/core/paint-bucket"));
26
- var _fg = require("@atlaskit/platform-feature-flags/fg");
27
26
  var _primitives = require("@atlaskit/primitives");
28
27
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
29
28
  var _toggle = _interopRequireDefault(require("@atlaskit/toggle"));
@@ -284,7 +283,7 @@ var DragMenu = /*#__PURE__*/_react.default.memo(function (_ref) {
284
283
  targetCellPosition = _getTablePluginState.targetCellPosition;
285
284
  var node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
286
285
  var background = (0, _editorPalette.hexToEditorBackgroundPaletteColor)((node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
287
- var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_2');
286
+ var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true);
288
287
  var activePalette = isMoreColorsEnabled ? _uiColor.cellBackgroundColorPaletteNew : _uiColor.cellBackgroundColorPalette;
289
288
  var activeCols = isMoreColorsEnabled ? _consts.colorPaletteColumns : _consts.colorPalletteColumns;
290
289
  var _getSelectedRowAndCol = (0, _uiColor.getSelectedRowAndColumnFromPalette)(activePalette, background, activeCols),
@@ -15,7 +15,6 @@ var _messages = require("@atlaskit/editor-common/messages");
15
15
  var _uiColor = require("@atlaskit/editor-common/ui-color");
16
16
  var _editorPalette = require("@atlaskit/editor-palette");
17
17
  var _editorToolbar = require("@atlaskit/editor-toolbar");
18
- var _fg = require("@atlaskit/platform-feature-flags/fg");
19
18
  var _compiled = require("@atlaskit/primitives/compiled");
20
19
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
20
  var _commands = require("../../../../pm-plugins/commands");
@@ -69,7 +68,7 @@ var BackgroundColorItem = exports.BackgroundColorItem = function BackgroundColor
69
68
  backgroundColor: selectedColor
70
69
  };
71
70
  }, [selectedColor]);
72
- var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_2');
71
+ var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true);
73
72
  var activePalette = isMoreColorsEnabled ? _uiColor.cellBackgroundColorPaletteNew : _uiColor.cellBackgroundColorPalette;
74
73
  var activeCols = isMoreColorsEnabled ? _consts.colorPaletteColumns : _consts.colorPalletteColumns;
75
74
  var paletteOptions = (0, _react.useMemo)(function () {
@@ -9,15 +9,13 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _analytics = require("@atlaskit/editor-common/analytics");
10
10
  var _nesting = require("@atlaskit/editor-common/nesting");
11
11
  var _utils = require("@atlaskit/editor-prosemirror/utils");
12
- var _fg = require("@atlaskit/platform-feature-flags/fg");
13
12
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
14
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
15
13
  var _tableSizeSelector = require("../../pm-plugins/table-size-selector");
16
14
  var _create = require("../../pm-plugins/utils/create");
17
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; }
18
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; }
19
17
  var insertTableFromQuickInsert = exports.insertTableFromQuickInsert = function insertTableFromQuickInsert(_ref) {
20
- var _api$markdownMode, _api$table, _api$analytics, _tr$selection$$from$n;
18
+ var _api$table, _api$analytics, _tr$selection$$from$n;
21
19
  var api = _ref.api,
22
20
  inputMethod = _ref.inputMethod,
23
21
  insert = _ref.insert,
@@ -31,12 +29,6 @@ var insertTableFromQuickInsert = exports.insertTableFromQuickInsert = function i
31
29
  });
32
30
  return _tr;
33
31
  }
34
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
35
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-markdown-mode', 'isEnabled', true) && (0, _fg.fg)('platform_editor_markdown_compatible_toolbar')) {
36
- var _api$markdownMode2;
37
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable();
38
- return state.tr;
39
- }
40
32
  var tableState = api === null || api === void 0 || (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
41
33
  var tableNodeProps = {
42
34
  isTableScalingEnabled: options.isTableScalingEnabled,
@@ -36,7 +36,6 @@ var _delete = _interopRequireDefault(require("@atlaskit/icon/core/delete"));
36
36
  var _shrinkHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/shrink-horizontal"));
37
37
  var _tableColumnsDistribute = _interopRequireDefault(require("@atlaskit/icon/core/table-columns-distribute"));
38
38
  var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
39
- var _fg = require("@atlaskit/platform-feature-flags/fg");
40
39
  var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
41
40
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
42
41
  var _commands = require("../pm-plugins/commands");
@@ -697,7 +696,7 @@ var getColorPicker = function getColorPicker(state, menu, _ref4, editorAnalytics
697
696
  }
698
697
  var node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : undefined;
699
698
  var currentBackground = (node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff';
700
- var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && (0, _fg.fg)('platform_editor_lovability_text_bg_color_patch_2');
699
+ var isMoreColorsEnabled = (0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true);
701
700
  var activePalette = isMoreColorsEnabled ? _uiColor.cellBackgroundColorPaletteNew : _uiColor.cellBackgroundColorPalette;
702
701
  var defaultPalette = activePalette.find(function (item) {
703
702
  return item.value === currentBackground;
@@ -6,9 +6,7 @@ import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
6
6
  import { hasParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
7
7
  import { TableMap } from '@atlaskit/editor-tables/table-map';
8
8
  import { addColumnAt as addColumnAtPMUtils, addRowAt, findTable, selectedRect } from '@atlaskit/editor-tables/utils';
9
- import { fg } from '@atlaskit/platform-feature-flags/fg';
10
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
11
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
12
10
  import { updateRowOrColumnMovedTransform } from '../analytics/commands';
13
11
  import { META_KEYS } from '../table-analytics';
14
12
  import { rescaleColumns } from '../transforms/column-width';
@@ -234,14 +232,7 @@ export const insertTableWithNestingSupport = ({
234
232
  }, api, analyticsPayload) => ({
235
233
  tr
236
234
  }) => {
237
- var _api$markdownMode, _api$contentInsertion, _api$contentInsertion2, _tr$selection$$from$n2;
238
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
239
- const markdownState = api === null || api === void 0 ? void 0 : (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
240
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
241
- var _api$markdownMode2;
242
- api === null || api === void 0 ? void 0 : (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 ? void 0 : _api$markdownMode2.actions.insertSourceTable(createTableProps.rowsCount, createTableProps.colsCount);
243
- return tr;
244
- }
235
+ var _api$contentInsertion, _api$contentInsertion2, _tr$selection$$from$n2;
245
236
  const {
246
237
  schema
247
238
  } = tr.doc.type;
@@ -15,7 +15,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
15
15
  import { fg } from '@atlaskit/platform-feature-flags/fg';
16
16
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
19
18
  import { tableNodeSpecWithFixedToDOM } from './nodeviews/toDOM';
20
19
  import { createPlugin as createActiveCellHighlightPlugin } from './pm-plugins/active-cell-highlight/plugin';
21
20
  import { createPlugin as createTableAnalyticsPlugin } from './pm-plugins/analytics/plugin';
@@ -551,7 +550,7 @@ const tablePlugin = ({
551
550
  keyshortcut: tooltip(toggleTable),
552
551
  icon: () => /*#__PURE__*/React.createElement(IconTable, null),
553
552
  action(insert, state) {
554
- var _api$markdownMode, _api$table, _options$tableOptions6, _tr$selection$$from$n;
553
+ var _api$table, _options$tableOptions6, _tr$selection$$from$n;
555
554
  // Keep this legacy path aligned with insertTableFromQuickInsert during rollout.
556
555
  if (isTableSelectorEnabled) {
557
556
  const tr = insert('');
@@ -561,14 +560,6 @@ const tablePlugin = ({
561
560
  return tr;
562
561
  }
563
562
 
564
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
565
- const markdownState = api === null || api === void 0 ? void 0 : (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
566
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
567
- var _api$markdownMode2;
568
- api === null || api === void 0 ? void 0 : (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 ? void 0 : _api$markdownMode2.actions.insertSourceTable();
569
- return state.tr;
570
- }
571
-
572
563
  // see comment on tablesPlugin.getSharedState on usage
573
564
  const tableState = api === null || api === void 0 ? void 0 : (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
574
565
  const tableNodeProps = {
@@ -32,7 +32,6 @@ import TableColumnDeleteIcon from '@atlaskit/icon/core/table-column-delete';
32
32
  import TableColumnsDistributeIcon from '@atlaskit/icon/core/table-columns-distribute';
33
33
  import TableRowAddBelowIcon from '@atlaskit/icon/core/table-row-add-below';
34
34
  import TableRowDeleteIcon from '@atlaskit/icon/core/table-row-delete';
35
- import { fg } from '@atlaskit/platform-feature-flags/fg';
36
35
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
37
36
  import { Box, xcss } from '@atlaskit/primitives';
38
37
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
@@ -122,7 +121,7 @@ export class ContextualMenu extends Component {
122
121
  var _node$attrs, _node$attrs2;
123
122
  const node = isOpen && targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
124
123
  const background = hexToEditorBackgroundPaletteColor((node === null || node === void 0 ? void 0 : (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
125
- const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
124
+ const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
126
125
  const activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
127
126
  const activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
128
127
  const selectedRowAndColumnFromPalette = getSelectedRowAndColumnFromPalette(activePalette,
@@ -22,7 +22,6 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
22
22
  import { TableMap } from '@atlaskit/editor-tables/table-map';
23
23
  import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
24
24
  import PaintBucketIcon from '@atlaskit/icon/core/paint-bucket';
25
- import { fg } from '@atlaskit/platform-feature-flags/fg';
26
25
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
27
26
  import { Box, xcss } from '@atlaskit/primitives';
28
27
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -278,7 +277,7 @@ const DragMenu = /*#__PURE__*/React.memo(({
278
277
  } = getTablePluginState(editorView.state);
279
278
  const node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
280
279
  const background = hexToEditorBackgroundPaletteColor((node === null || node === void 0 ? void 0 : (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
281
- const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
280
+ const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
282
281
  const activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
283
282
  const activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
284
283
  const {
@@ -8,7 +8,6 @@ import { tableMessages as messages } from '@atlaskit/editor-common/messages';
8
8
  import { backgroundPaletteTooltipMessages, cellBackgroundColorPalette, cellBackgroundColorPaletteNew, ColorPalette } from '@atlaskit/editor-common/ui-color';
9
9
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
10
10
  import { NestedDropdownRightIcon, PaintBucketIcon, ToolbarNestedDropdownMenu } from '@atlaskit/editor-toolbar';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { Box } from '@atlaskit/primitives/compiled';
13
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
13
  import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
@@ -64,7 +63,7 @@ export const BackgroundColorItem = ({
64
63
  const colorPreviewStyle = useMemo(() => ({
65
64
  backgroundColor: selectedColor
66
65
  }), [selectedColor]);
67
- const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
66
+ const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
68
67
  const activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
69
68
  const activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
70
69
  const paletteOptions = useMemo(() => {
@@ -1,9 +1,7 @@
1
1
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
2
2
  import { getParentOfTypeCount, getPositionAfterTopParentNodeOfType } from '@atlaskit/editor-common/nesting';
3
3
  import { hasParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
4
- import { fg } from '@atlaskit/platform-feature-flags/fg';
5
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
7
5
  import { pluginKey as sizeSelectorPluginKey } from '../../pm-plugins/table-size-selector';
8
6
  import { createTableWithWidth } from '../../pm-plugins/utils/create';
9
7
  export const insertTableFromQuickInsert = ({
@@ -14,7 +12,7 @@ export const insertTableFromQuickInsert = ({
14
12
  options,
15
13
  state
16
14
  }) => {
17
- var _api$markdownMode, _api$table, _api$analytics, _tr$selection$$from$n;
15
+ var _api$table, _api$analytics, _tr$selection$$from$n;
18
16
  if (isTableSelectorEnabled) {
19
17
  const tr = insert('');
20
18
  tr.setMeta(sizeSelectorPluginKey, {
@@ -22,12 +20,6 @@ export const insertTableFromQuickInsert = ({
22
20
  });
23
21
  return tr;
24
22
  }
25
- const markdownState = api === null || api === void 0 ? void 0 : (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
26
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
27
- var _api$markdownMode2;
28
- api === null || api === void 0 ? void 0 : (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 ? void 0 : _api$markdownMode2.actions.insertSourceTable();
29
- return state.tr;
30
- }
31
23
  const tableState = api === null || api === void 0 ? void 0 : (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
32
24
  const tableNodeProps = {
33
25
  isTableScalingEnabled: options.isTableScalingEnabled,
@@ -30,7 +30,6 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
30
30
  import ShrinkHorizontalIcon from '@atlaskit/icon/core/shrink-horizontal';
31
31
  import TableColumnsDistributeIcon from '@atlaskit/icon/core/table-columns-distribute';
32
32
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
33
- import { fg } from '@atlaskit/platform-feature-flags/fg';
34
33
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
35
34
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
36
35
  import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, hoverTable, removeDescendantNodes } from '../pm-plugins/commands';
@@ -653,7 +652,7 @@ const getColorPicker = (state, menu, {
653
652
  }
654
653
  const node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : undefined;
655
654
  const currentBackground = (node === null || node === void 0 ? void 0 : (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff';
656
- const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
655
+ const isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
657
656
  const activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
658
657
  const defaultPalette = activePalette.find(item => item.value === currentBackground) || {
659
658
  // eslint-disable-next-line @atlassian/i18n/no-literal-string-in-object
@@ -9,9 +9,7 @@ import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
9
9
  import { hasParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
10
10
  import { TableMap } from '@atlaskit/editor-tables/table-map';
11
11
  import { addColumnAt as addColumnAtPMUtils, addRowAt, findTable, selectedRect } from '@atlaskit/editor-tables/utils';
12
- import { fg } from '@atlaskit/platform-feature-flags/fg';
13
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
15
13
  import { updateRowOrColumnMovedTransform } from '../analytics/commands';
16
14
  import { META_KEYS } from '../table-analytics';
17
15
  import { rescaleColumns } from '../transforms/column-width';
@@ -266,15 +264,8 @@ export var insertTableWithNestingSupport = function insertTableWithNestingSuppor
266
264
  _ref2$createTableProp = _ref2.createTableProps,
267
265
  createTableProps = _ref2$createTableProp === void 0 ? {} : _ref2$createTableProp;
268
266
  return function (_ref3) {
269
- var _api$markdownMode, _api$contentInsertion, _tr$selection$$from$n2;
267
+ var _api$contentInsertion, _tr$selection$$from$n2;
270
268
  var tr = _ref3.tr;
271
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
272
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
273
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
274
- var _api$markdownMode2;
275
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable(createTableProps.rowsCount, createTableProps.colsCount);
276
- return tr;
277
- }
278
269
  var schema = tr.doc.type.schema;
279
270
 
280
271
  // If the cursor is inside a table
@@ -18,7 +18,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
18
18
  import { fg } from '@atlaskit/platform-feature-flags/fg';
19
19
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
20
20
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
21
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
22
21
  import { tableNodeSpecWithFixedToDOM } from './nodeviews/toDOM';
23
22
  import { createPlugin as createActiveCellHighlightPlugin } from './pm-plugins/active-cell-highlight/plugin';
24
23
  import { createPlugin as createTableAnalyticsPlugin } from './pm-plugins/analytics/plugin';
@@ -560,7 +559,7 @@ var tablePlugin = function tablePlugin(_ref) {
560
559
  return /*#__PURE__*/React.createElement(IconTable, null);
561
560
  },
562
561
  action: function action(insert, state) {
563
- var _api$markdownMode, _api$table, _options$tableOptions6, _tr$selection$$from$n;
562
+ var _api$table, _options$tableOptions6, _tr$selection$$from$n;
564
563
  // Keep this legacy path aligned with insertTableFromQuickInsert during rollout.
565
564
  if (isTableSelectorEnabled) {
566
565
  var _tr = insert('');
@@ -570,14 +569,6 @@ var tablePlugin = function tablePlugin(_ref) {
570
569
  return _tr;
571
570
  }
572
571
 
573
- // Delegate to the markdown plugin to insert a markdown table string at the CM cursor position.
574
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
575
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
576
- var _api$markdownMode2;
577
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable();
578
- return state.tr;
579
- }
580
-
581
572
  // see comment on tablesPlugin.getSharedState on usage
582
573
  var tableState = api === null || api === void 0 || (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
583
574
  var tableNodeProps = {
@@ -42,7 +42,6 @@ import TableColumnDeleteIcon from '@atlaskit/icon/core/table-column-delete';
42
42
  import TableColumnsDistributeIcon from '@atlaskit/icon/core/table-columns-distribute';
43
43
  import TableRowAddBelowIcon from '@atlaskit/icon/core/table-row-add-below';
44
44
  import TableRowDeleteIcon from '@atlaskit/icon/core/table-row-delete';
45
- import { fg } from '@atlaskit/platform-feature-flags/fg';
46
45
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
47
46
  import { Box, xcss } from '@atlaskit/primitives';
48
47
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
@@ -131,7 +130,7 @@ export var ContextualMenu = /*#__PURE__*/function (_Component) {
131
130
  var _node$attrs, _node$attrs2;
132
131
  var node = isOpen && targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
133
132
  var background = hexToEditorBackgroundPaletteColor((node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
134
- var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
133
+ var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
135
134
  var activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
136
135
  var activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
137
136
  var selectedRowAndColumnFromPalette = getSelectedRowAndColumnFromPalette(activePalette,
@@ -24,7 +24,6 @@ import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
24
24
  import { TableMap } from '@atlaskit/editor-tables/table-map';
25
25
  import { findCellRectClosestToPos, getSelectionRect, isSelectionType } from '@atlaskit/editor-tables/utils';
26
26
  import PaintBucketIcon from '@atlaskit/icon/core/paint-bucket';
27
- import { fg } from '@atlaskit/platform-feature-flags/fg';
28
27
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
29
28
  import { Box, xcss } from '@atlaskit/primitives';
30
29
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -274,7 +273,7 @@ var DragMenu = /*#__PURE__*/React.memo(function (_ref) {
274
273
  targetCellPosition = _getTablePluginState.targetCellPosition;
275
274
  var node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : null;
276
275
  var background = hexToEditorBackgroundPaletteColor((node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff');
277
- var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
276
+ var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
278
277
  var activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
279
278
  var activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
280
279
  var _getSelectedRowAndCol = getSelectedRowAndColumnFromPalette(activePalette, background, activeCols),
@@ -8,7 +8,6 @@ import { tableMessages as messages } from '@atlaskit/editor-common/messages';
8
8
  import { backgroundPaletteTooltipMessages, cellBackgroundColorPalette, cellBackgroundColorPaletteNew, ColorPalette } from '@atlaskit/editor-common/ui-color';
9
9
  import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
10
10
  import { NestedDropdownRightIcon, PaintBucketIcon, ToolbarNestedDropdownMenu } from '@atlaskit/editor-toolbar';
11
- import { fg } from '@atlaskit/platform-feature-flags/fg';
12
11
  import { Box } from '@atlaskit/primitives/compiled';
13
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
13
  import { closeActiveTableMenu } from '../../../../pm-plugins/commands';
@@ -61,7 +60,7 @@ export var BackgroundColorItem = function BackgroundColorItem(_ref) {
61
60
  backgroundColor: selectedColor
62
61
  };
63
62
  }, [selectedColor]);
64
- var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
63
+ var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
65
64
  var activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
66
65
  var activeCols = isMoreColorsEnabled ? colorPaletteColumns : colorPalletteColumns;
67
66
  var paletteOptions = useMemo(function () {
@@ -4,13 +4,11 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
4
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
5
5
  import { getParentOfTypeCount, getPositionAfterTopParentNodeOfType } from '@atlaskit/editor-common/nesting';
6
6
  import { hasParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
7
- import { fg } from '@atlaskit/platform-feature-flags/fg';
8
7
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
10
8
  import { pluginKey as sizeSelectorPluginKey } from '../../pm-plugins/table-size-selector';
11
9
  import { createTableWithWidth } from '../../pm-plugins/utils/create';
12
10
  export var insertTableFromQuickInsert = function insertTableFromQuickInsert(_ref) {
13
- var _api$markdownMode, _api$table, _api$analytics, _tr$selection$$from$n;
11
+ var _api$table, _api$analytics, _tr$selection$$from$n;
14
12
  var api = _ref.api,
15
13
  inputMethod = _ref.inputMethod,
16
14
  insert = _ref.insert,
@@ -24,12 +22,6 @@ export var insertTableFromQuickInsert = function insertTableFromQuickInsert(_ref
24
22
  });
25
23
  return _tr;
26
24
  }
27
- var markdownState = api === null || api === void 0 || (_api$markdownMode = api.markdownMode) === null || _api$markdownMode === void 0 ? void 0 : _api$markdownMode.sharedState.currentState();
28
- if (markdownState !== null && markdownState !== void 0 && markdownState.isMarkdownMode && (markdownState === null || markdownState === void 0 ? void 0 : markdownState.view) === 'syntax' && expValEqualsNoExposure('cc-markdown-mode', 'isEnabled', true) && fg('platform_editor_markdown_compatible_toolbar')) {
29
- var _api$markdownMode2;
30
- api === null || api === void 0 || (_api$markdownMode2 = api.markdownMode) === null || _api$markdownMode2 === void 0 || _api$markdownMode2.actions.insertSourceTable();
31
- return state.tr;
32
- }
33
25
  var tableState = api === null || api === void 0 || (_api$table = api.table) === null || _api$table === void 0 ? void 0 : _api$table.sharedState.currentState();
34
26
  var tableNodeProps = {
35
27
  isTableScalingEnabled: options.isTableScalingEnabled,
@@ -36,7 +36,6 @@ import DeleteIcon from '@atlaskit/icon/core/delete';
36
36
  import ShrinkHorizontalIcon from '@atlaskit/icon/core/shrink-horizontal';
37
37
  import TableColumnsDistributeIcon from '@atlaskit/icon/core/table-columns-distribute';
38
38
  import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
39
- import { fg } from '@atlaskit/platform-feature-flags/fg';
40
39
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
41
40
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
42
41
  import { clearHoverSelection, hoverColumns, hoverMergedCells, hoverRows, hoverTable, removeDescendantNodes } from '../pm-plugins/commands';
@@ -690,7 +689,7 @@ var getColorPicker = function getColorPicker(state, menu, _ref4, editorAnalytics
690
689
  }
691
690
  var node = targetCellPosition ? state.doc.nodeAt(targetCellPosition) : undefined;
692
691
  var currentBackground = (node === null || node === void 0 || (_node$attrs = node.attrs) === null || _node$attrs === void 0 ? void 0 : _node$attrs.background) || '#ffffff';
693
- var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && fg('platform_editor_lovability_text_bg_color_patch_2');
692
+ var isMoreColorsEnabled = expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true);
694
693
  var activePalette = isMoreColorsEnabled ? cellBackgroundColorPaletteNew : cellBackgroundColorPalette;
695
694
  var defaultPalette = activePalette.find(function (item) {
696
695
  return item.value === currentBackground;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "34.0.2",
3
+ "version": "34.0.4",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  "@atlaskit/editor-plugin-batch-attribute-updates": "^22.0.0",
30
30
  "@atlaskit/editor-plugin-content-insertion": "^22.0.0",
31
31
  "@atlaskit/editor-plugin-editor-viewmode": "^24.0.0",
32
- "@atlaskit/editor-plugin-extension": "25.0.2",
32
+ "@atlaskit/editor-plugin-extension": "25.0.3",
33
33
  "@atlaskit/editor-plugin-guideline": "^22.0.0",
34
34
  "@atlaskit/editor-plugin-interaction": "^36.0.0",
35
35
  "@atlaskit/editor-plugin-limited-mode": "^19.0.0",
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^3.2.0",
54
54
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^3.0.0",
55
55
  "@atlaskit/primitives": "^22.5.0",
56
- "@atlaskit/tmp-editor-statsig": "^211.0.0",
56
+ "@atlaskit/tmp-editor-statsig": "^212.0.0",
57
57
  "@atlaskit/toggle": "^17.3.0",
58
58
  "@atlaskit/tokens": "^20.1.0",
59
59
  "@atlaskit/tooltip": "^24.3.0",
@@ -78,9 +78,6 @@
78
78
  "type": "boolean",
79
79
  "referenceOnly": true
80
80
  },
81
- "platform_editor_markdown_compatible_toolbar": {
82
- "type": "boolean"
83
- },
84
81
  "platform_editor_paste_full_table_inside_empty_cell": {
85
82
  "type": "boolean"
86
83
  },
@@ -113,9 +110,6 @@
113
110
  },
114
111
  "platform_editor_table_flicker_issue": {
115
112
  "type": "boolean"
116
- },
117
- "platform_editor_lovability_text_bg_color_patch_2": {
118
- "type": "boolean"
119
113
  }
120
114
  },
121
115
  "devDependencies": {