@atlaskit/editor-core 194.3.3 → 194.3.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 +12 -0
- package/dist/cjs/presets/universal.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 194.3.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#120904](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120904)
|
|
8
|
+
[`93e8faa4a5d09`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93e8faa4a5d09) -
|
|
9
|
+
[ux] Enables table resizing in comments editor under a new feature gate.
|
|
10
|
+
- [#120665](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120665)
|
|
11
|
+
[`a4ee6908e0e2c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a4ee6908e0e2c) -
|
|
12
|
+
[ED-23943] Milestone: Initial LazyNodeViewLoading implementation for Table
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 194.3.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -129,7 +129,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
129
129
|
profilecardProvider: (_props$mention3 = props.mention) === null || _props$mention3 === void 0 ? void 0 : _props$mention3.profilecardProvider
|
|
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
|
-
tableResizingEnabled: isFullPage,
|
|
132
|
+
tableResizingEnabled: isFullPage || isComment && (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment'),
|
|
133
133
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
134
134
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
135
135
|
allowContextualMenu: !isMobile,
|
|
@@ -118,7 +118,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
118
118
|
profilecardProvider: (_props$mention3 = props.mention) === null || _props$mention3 === void 0 ? void 0 : _props$mention3.profilecardProvider
|
|
119
119
|
}], Boolean(props.mentionProvider)).maybeAdd(emojiPlugin, Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
120
120
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
121
|
-
tableResizingEnabled: isFullPage,
|
|
121
|
+
tableResizingEnabled: isFullPage || isComment && fg('platform_editor_table_support_in_comment'),
|
|
122
122
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
123
123
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
124
124
|
allowContextualMenu: !isMobile,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "194.3.
|
|
2
|
+
export const version = "194.3.4";
|
|
@@ -121,7 +121,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
121
121
|
profilecardProvider: (_props$mention3 = props.mention) === null || _props$mention3 === void 0 ? void 0 : _props$mention3.profilecardProvider
|
|
122
122
|
}], Boolean(props.mentionProvider)).maybeAdd(emojiPlugin, Boolean(props.emojiProvider)).maybeAdd([tablesPlugin, {
|
|
123
123
|
tableOptions: !props.allowTables || typeof props.allowTables === 'boolean' ? {} : props.allowTables,
|
|
124
|
-
tableResizingEnabled: isFullPage,
|
|
124
|
+
tableResizingEnabled: isFullPage || isComment && fg('platform_editor_table_support_in_comment'),
|
|
125
125
|
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && isFullPage,
|
|
126
126
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
127
127
|
allowContextualMenu: !isMobile,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "194.3.
|
|
2
|
+
export var version = "194.3.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "194.3.
|
|
3
|
+
"version": "194.3.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
46
46
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
47
47
|
"@atlaskit/button": "^18.4.0",
|
|
48
|
-
"@atlaskit/editor-common": "^86.
|
|
48
|
+
"@atlaskit/editor-common": "^86.1.0",
|
|
49
49
|
"@atlaskit/editor-plugins": "^3.4.0",
|
|
50
50
|
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
@@ -322,6 +322,9 @@
|
|
|
322
322
|
"type": "boolean",
|
|
323
323
|
"referenceOnly": true
|
|
324
324
|
},
|
|
325
|
+
"platform_editor_table_support_in_comment": {
|
|
326
|
+
"type": "boolean"
|
|
327
|
+
},
|
|
325
328
|
"react_18_tasks_and_decisions_concurrent_mode": {
|
|
326
329
|
"type": "boolean",
|
|
327
330
|
"referenceOnly": true
|