@atlaskit/editor-core 194.3.4 → 194.3.9

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,24 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 194.3.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#121871](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121871)
8
+ [`61163aa3e3a70`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61163aa3e3a70) -
9
+ ED-24145: Turned on table drag and drop in comment editor
10
+ - [`3b20c735bc9ee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3b20c735bc9ee) -
11
+ [ux] Insert full-width table in comment editor when table resizing is enabled.
12
+
13
+ ## 194.3.6
14
+
15
+ ### Patch Changes
16
+
17
+ - [#121483](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121483)
18
+ [`b73c87fcb17dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b73c87fcb17dd) -
19
+ [ED-22946] Cleanup feature flag extractListFromParagraphV2
20
+ - Updated dependencies
21
+
3
22
  ## 194.3.4
4
23
 
5
24
  ### Patch Changes
@@ -130,14 +130,19 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
130
130
  }], Boolean(props.mentionProvider)).maybeAdd(_emoji.emojiPlugin, Boolean(props.emojiProvider)).maybeAdd([_table.tablesPlugin, {
131
131
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
132
132
  tableResizingEnabled: isFullPage || isComment && (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment'),
133
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
133
+ dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage ||
134
+ // eslint-disable-next-line @atlaskit/platform/no-preconditioning
135
+ isComment && (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) &&
136
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
137
+ (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment'),
134
138
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
135
139
  allowContextualMenu: !isMobile,
136
140
  fullWidthEnabled: appearance === 'full-width',
137
141
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
138
142
  getEditorFeatureFlags: getEditorFeatureFlags,
139
143
  isTableAlignmentEnabled: (0, _platformFeatureFlags.fg)('platform.editor.table.allow-table-alignment') && isFullPage,
140
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
144
+ isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
145
+ isCommentEditor: isComment
141
146
  }], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
142
147
  allowNestedTasks: props.allowNestedTasks,
143
148
  consumeTabs: isFullPage,
@@ -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 = "194.3.4";
8
+ var version = exports.version = "194.3.9";
@@ -119,14 +119,19 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
119
119
  }], Boolean(props.mentionProvider)).maybeAdd(emojiPlugin, Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
120
120
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
121
121
  tableResizingEnabled: isFullPage || isComment && fg('platform_editor_table_support_in_comment'),
122
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
122
+ dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage ||
123
+ // eslint-disable-next-line @atlaskit/platform/no-preconditioning
124
+ isComment && (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) &&
125
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
126
+ fg('platform_editor_table_support_in_comment'),
123
127
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
124
128
  allowContextualMenu: !isMobile,
125
129
  fullWidthEnabled: appearance === 'full-width',
126
130
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
127
131
  getEditorFeatureFlags,
128
132
  isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && isFullPage,
129
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
133
+ isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
134
+ isCommentEditor: isComment
130
135
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
131
136
  allowNestedTasks: props.allowNestedTasks,
132
137
  consumeTabs: isFullPage,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "194.3.4";
2
+ export const version = "194.3.9";
@@ -122,14 +122,19 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
122
122
  }], Boolean(props.mentionProvider)).maybeAdd(emojiPlugin, Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
123
123
  tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
124
124
  tableResizingEnabled: isFullPage || isComment && fg('platform_editor_table_support_in_comment'),
125
- dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
125
+ dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage ||
126
+ // eslint-disable-next-line @atlaskit/platform/no-preconditioning
127
+ isComment && (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) &&
128
+ // eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
129
+ fg('platform_editor_table_support_in_comment'),
126
130
  isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
127
131
  allowContextualMenu: !isMobile,
128
132
  fullWidthEnabled: appearance === 'full-width',
129
133
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
130
134
  getEditorFeatureFlags: getEditorFeatureFlags,
131
135
  isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && isFullPage,
132
- isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage
136
+ isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
137
+ isCommentEditor: isComment
133
138
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
134
139
  allowNestedTasks: props.allowNestedTasks,
135
140
  consumeTabs: isFullPage,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "194.3.4";
2
+ export var version = "194.3.9";