@atlaskit/editor-core 203.8.0 → 203.9.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,18 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 203.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#98966](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98966)
8
+ [`5c8e4c2ce26bf`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c8e4c2ce26bf) -
9
+ Remove platform_editor_table_new_column_resizing experiment, remove options and all logic inside
10
+ editor-plugin-table and remove it from feature flag plugin config.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 203.8.0
4
17
 
5
18
  ### Minor Changes
@@ -161,7 +161,6 @@ function createUniversalPresetInternal(_ref) {
161
161
  fullWidthEnabled: appearance === 'full-width',
162
162
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
163
163
  getEditorFeatureFlags: getEditorFeatureFlags,
164
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
165
164
  isCommentEditor: isComment,
166
165
  isChromelessEditor: isChromeless
167
166
  }], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, _objectSpread({
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "203.8.0";
8
+ var version = exports.version = "203.9.0";
@@ -210,7 +210,7 @@ export default class EditorActions {
210
210
  var _this$editorView3;
211
211
  if ((_this$editorView3 = this.editorView) !== null && _this$editorView3 !== void 0 && _this$editorView3.state) {
212
212
  var _this$editorView4;
213
- let nodes = findNodePosByFragmentLocalIds((_this$editorView4 = this.editorView) === null || _this$editorView4 === void 0 ? void 0 : _this$editorView4.state, [id]);
213
+ const nodes = findNodePosByFragmentLocalIds((_this$editorView4 = this.editorView) === null || _this$editorView4 === void 0 ? void 0 : _this$editorView4.state, [id]);
214
214
  return nodes.length > 0 ? nodes[0].node : undefined;
215
215
  }
216
216
  }
@@ -153,7 +153,6 @@ export default function createUniversalPresetInternal({
153
153
  fullWidthEnabled: appearance === 'full-width',
154
154
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
155
155
  getEditorFeatureFlags,
156
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
157
156
  isCommentEditor: isComment,
158
157
  isChromelessEditor: isChromeless
159
158
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
@@ -1,5 +1,5 @@
1
1
  export function getNodesCount(node) {
2
- let count = {};
2
+ const count = {};
3
3
  node.nodesBetween(0, node.nodeSize - 2, node => {
4
4
  count[node.type.name] = (count[node.type.name] || 0) + 1;
5
5
  });
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "203.8.0";
2
+ export const version = "203.9.0";
@@ -154,7 +154,6 @@ export default function createUniversalPresetInternal(_ref) {
154
154
  fullWidthEnabled: appearance === 'full-width',
155
155
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
156
156
  getEditorFeatureFlags: getEditorFeatureFlags,
157
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
158
157
  isCommentEditor: isComment,
159
158
  isChromelessEditor: isChromeless
160
159
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, _objectSpread({
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "203.8.0";
2
+ export var version = "203.9.0";