@atlaskit/editor-plugin-table 17.6.1 → 17.7.0

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,17 @@
1
1
  # @atlaskit/editor-plugin-table
2
2
 
3
+ ## 17.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`557de2bd28f21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/557de2bd28f21) -
8
+ [EDITOR-5773](https://hello.jira.atlassian.cloud/browse/EDITOR-5773) - clean up
9
+ platform_editor_disable_query_command_supported experiment
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 17.6.1
4
16
 
5
17
  ### Patch Changes
@@ -353,17 +353,6 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
353
353
  _iterator.f();
354
354
  }
355
355
  });
356
- if (!(0, _expValEquals.expValEquals)('platform_editor_disable_query_command_supported', 'isEnabled', true)) {
357
- if ('execCommand' in document) {
358
- // Disable inline table editing and resizing controls in Firefox
359
- // https://github.com/ProseMirror/prosemirror/issues/432
360
- ['enableObjectResizing', 'enableInlineTableEditing'].forEach(function (cmd) {
361
- if (document.queryCommandSupported(cmd)) {
362
- document.execCommand(cmd, false, 'false');
363
- }
364
- });
365
- }
366
- }
367
356
  return _this;
368
357
  }
369
358
  (0, _inherits2.default)(TableComponent, _React$Component);
@@ -335,17 +335,6 @@ class TableComponent extends React.Component {
335
335
  });
336
336
  }
337
337
  });
338
- if (!expValEquals('platform_editor_disable_query_command_supported', 'isEnabled', true)) {
339
- if ('execCommand' in document) {
340
- // Disable inline table editing and resizing controls in Firefox
341
- // https://github.com/ProseMirror/prosemirror/issues/432
342
- ['enableObjectResizing', 'enableInlineTableEditing'].forEach(cmd => {
343
- if (document.queryCommandSupported(cmd)) {
344
- document.execCommand(cmd, false, 'false');
345
- }
346
- });
347
- }
348
- }
349
338
  }
350
339
  componentDidMount() {
351
340
  const {
@@ -347,17 +347,6 @@ var TableComponent = /*#__PURE__*/function (_React$Component) {
347
347
  _iterator.f();
348
348
  }
349
349
  });
350
- if (!expValEquals('platform_editor_disable_query_command_supported', 'isEnabled', true)) {
351
- if ('execCommand' in document) {
352
- // Disable inline table editing and resizing controls in Firefox
353
- // https://github.com/ProseMirror/prosemirror/issues/432
354
- ['enableObjectResizing', 'enableInlineTableEditing'].forEach(function (cmd) {
355
- if (document.queryCommandSupported(cmd)) {
356
- document.execCommand(cmd, false, 'false');
357
- }
358
- });
359
- }
360
- }
361
350
  return _this;
362
351
  }
363
352
  _inherits(TableComponent, _React$Component);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-table",
3
- "version": "17.6.1",
3
+ "version": "17.7.0",
4
4
  "description": "Table plugin for the @atlaskit/editor",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -57,7 +57,7 @@
57
57
  "@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
58
58
  "@atlaskit/primitives": "^18.0.0",
59
59
  "@atlaskit/theme": "^22.0.0",
60
- "@atlaskit/tmp-editor-statsig": "^34.0.0",
60
+ "@atlaskit/tmp-editor-statsig": "^34.1.0",
61
61
  "@atlaskit/toggle": "^15.2.0",
62
62
  "@atlaskit/tokens": "^11.0.0",
63
63
  "@atlaskit/tooltip": "^20.14.0",