@atlaskit/editor-plugin-table 34.0.3 → 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,13 @@
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
+
3
11
  ## 34.0.3
4
12
 
5
13
  ### 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 = {
@@ -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,
@@ -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 = {
@@ -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,
@@ -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 = {
@@ -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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "34.0.3",
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
  },