@atlaskit/editor-core 195.0.2 → 195.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 +17 -0
- package/dist/cjs/presets/universal.js +3 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/presets/universal.js +3 -6
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/presets/universal.js +3 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 195.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#124302](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124302)
|
|
8
|
+
[`45dc9b6543007`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/45dc9b6543007) -
|
|
9
|
+
[ux] ED-24228 adding wrap content functionality with feature gate
|
|
10
|
+
|
|
11
|
+
## 195.0.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#124890](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124890)
|
|
16
|
+
[`04951dd1969d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/04951dd1969d5) -
|
|
17
|
+
[ux] ED-24278: Turned on table dnd in chromeless editor
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 195.0.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -130,11 +130,7 @@ 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 ||
|
|
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'),
|
|
133
|
+
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment')),
|
|
138
134
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
139
135
|
allowContextualMenu: !isMobile,
|
|
140
136
|
fullWidthEnabled: appearance === 'full-width',
|
|
@@ -142,7 +138,8 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
|
|
|
142
138
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
143
139
|
isTableAlignmentEnabled: (0, _platformFeatureFlags.fg)('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment')),
|
|
144
140
|
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
|
|
145
|
-
isCommentEditor: isComment
|
|
141
|
+
isCommentEditor: isComment,
|
|
142
|
+
isChromelessEditor: isChromeless
|
|
146
143
|
}], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
|
|
147
144
|
allowNestedTasks: props.allowNestedTasks,
|
|
148
145
|
consumeTabs: isFullPage,
|
|
@@ -119,11 +119,7 @@ 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 ||
|
|
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'),
|
|
122
|
+
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && fg('platform_editor_table_support_in_comment')),
|
|
127
123
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
128
124
|
allowContextualMenu: !isMobile,
|
|
129
125
|
fullWidthEnabled: appearance === 'full-width',
|
|
@@ -131,7 +127,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
131
127
|
getEditorFeatureFlags,
|
|
132
128
|
isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && fg('platform_editor_table_support_in_comment')),
|
|
133
129
|
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
|
|
134
|
-
isCommentEditor: isComment
|
|
130
|
+
isCommentEditor: isComment,
|
|
131
|
+
isChromelessEditor: isChromeless
|
|
135
132
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
|
|
136
133
|
allowNestedTasks: props.allowNestedTasks,
|
|
137
134
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const name = "@atlaskit/editor-core";
|
|
2
|
-
export const version = "195.0.
|
|
2
|
+
export const version = "195.0.4";
|
|
@@ -122,11 +122,7 @@ 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 ||
|
|
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'),
|
|
125
|
+
dragAndDropEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableDragAndDrop) && (isFullPage || (isComment || isChromeless) && fg('platform_editor_table_support_in_comment')),
|
|
130
126
|
isTableScalingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tablePreserveWidth) && isFullPage,
|
|
131
127
|
allowContextualMenu: !isMobile,
|
|
132
128
|
fullWidthEnabled: appearance === 'full-width',
|
|
@@ -134,7 +130,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
|
|
|
134
130
|
getEditorFeatureFlags: getEditorFeatureFlags,
|
|
135
131
|
isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && fg('platform_editor_table_support_in_comment')),
|
|
136
132
|
isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
|
|
137
|
-
isCommentEditor: isComment
|
|
133
|
+
isCommentEditor: isComment,
|
|
134
|
+
isChromelessEditor: isChromeless
|
|
138
135
|
}], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
|
|
139
136
|
allowNestedTasks: props.allowNestedTasks,
|
|
140
137
|
consumeTabs: isFullPage,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export var name = "@atlaskit/editor-core";
|
|
2
|
-
export var version = "195.0.
|
|
2
|
+
export var version = "195.0.4";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "195.0.
|
|
3
|
+
"version": "195.0.4",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
51
51
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
52
52
|
"@atlaskit/emoji": "^67.6.0",
|
|
53
|
-
"@atlaskit/icon": "^22.
|
|
53
|
+
"@atlaskit/icon": "^22.8.0",
|
|
54
54
|
"@atlaskit/media-card": "^78.0.0",
|
|
55
55
|
"@atlaskit/mention": "^23.2.0",
|
|
56
56
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|