@atlaskit/editor-presets 10.0.4 → 10.0.6
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,21 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 10.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.0.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`0841b102bfe4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0841b102bfe4a) -
|
|
14
|
+
Add a PM-state-backed multi-location left block-controls surface and register the display-only
|
|
15
|
+
heading collapse button behind `platform_editor_block_control_migration` and
|
|
16
|
+
`platform_editor_collapsible_headings`.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 10.0.4
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -202,7 +202,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
202
202
|
options: pluginOptions.typeAhead
|
|
203
203
|
})]).add(_editorPluginHistory.historyPlugin).add([_editorPluginPrimaryToolbar.primaryToolbarPlugin, (0, _primaryToolbarPluginOptions.primaryToolbarPluginOptions)({
|
|
204
204
|
options: pluginOptions.primaryToolbar
|
|
205
|
-
})]).maybeAdd(_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_slash_command', 'isEnabled', false)).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
|
|
205
|
+
})]).maybeAdd(_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_slash_command', 'isEnabled', false) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_control_migration')).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
|
|
206
206
|
options: pluginOptions.toolbar
|
|
207
207
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
|
|
208
208
|
options: pluginOptions.blockMenu
|
|
@@ -279,7 +279,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
279
279
|
})]).maybeAdd(
|
|
280
280
|
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
281
281
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
282
|
-
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_slash_command', 'isEnabled', false))).add([_editorPluginCard.cardPlugin, (0, _cardPluginOptions.cardPluginOptions)({
|
|
282
|
+
_editorPluginUiControlRegistry.uiControlRegistryPlugin, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_paste_actions_menu', 'isEnabled', true) && !((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_slash_command', 'isEnabled', false) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_control_migration'))).add([_editorPluginCard.cardPlugin, (0, _cardPluginOptions.cardPluginOptions)({
|
|
283
283
|
options: pluginOptions.card,
|
|
284
284
|
providers: providers
|
|
285
285
|
})]).add([_editorPluginCustomAutoformat.customAutoformatPlugin, (0, _customAutoformatPluginOptions.customAutoformatPluginOptions)({
|
|
@@ -198,7 +198,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
198
198
|
options: pluginOptions.typeAhead
|
|
199
199
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
200
200
|
options: pluginOptions.primaryToolbar
|
|
201
|
-
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false)).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
201
|
+
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
202
202
|
options: pluginOptions.toolbar
|
|
203
203
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
|
|
204
204
|
options: pluginOptions.blockMenu
|
|
@@ -275,7 +275,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
275
275
|
})]).maybeAdd(
|
|
276
276
|
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
277
277
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
278
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false))).add([cardPlugin, cardPluginOptions({
|
|
278
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration'))).add([cardPlugin, cardPluginOptions({
|
|
279
279
|
options: pluginOptions.card,
|
|
280
280
|
providers
|
|
281
281
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
|
@@ -196,7 +196,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
196
196
|
options: pluginOptions.typeAhead
|
|
197
197
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
198
198
|
options: pluginOptions.primaryToolbar
|
|
199
|
-
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false)).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
199
|
+
})]).maybeAdd(uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration')).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
200
200
|
options: pluginOptions.toolbar
|
|
201
201
|
})], Boolean(enabledOptionalPlugins.toolbar)).maybeAdd([blockMenuPlugin, blockMenuPluginOptions({
|
|
202
202
|
options: pluginOptions.blockMenu
|
|
@@ -273,7 +273,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
273
273
|
})]).maybeAdd(
|
|
274
274
|
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
275
275
|
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
276
|
-
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false))).add([cardPlugin, cardPluginOptions({
|
|
276
|
+
uiControlRegistryPlugin, expValEqualsNoExposure('platform_editor_paste_actions_menu', 'isEnabled', true) && !(expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true) || expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_slash_command', 'isEnabled', false) || isExperimentEnabled('platform_editor_block_control_migration'))).add([cardPlugin, cardPluginOptions({
|
|
277
277
|
options: pluginOptions.card,
|
|
278
278
|
providers: providers
|
|
279
279
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
|
|
6
6
|
"publishConfig": {
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@atlaskit/editor-plugin-base": "^17.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-batch-attribute-updates": "^16.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-better-type-history": "^16.0.0",
|
|
32
|
-
"@atlaskit/editor-plugin-block-controls": "^17.
|
|
32
|
+
"@atlaskit/editor-plugin-block-controls": "^17.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-block-menu": "^15.0.0",
|
|
34
34
|
"@atlaskit/editor-plugin-block-type": "^20.0.0",
|
|
35
35
|
"@atlaskit/editor-plugin-border": "^16.0.0",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^17.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^165.0.0",
|
|
120
120
|
"@atlassian/ari": "^2.596.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^6.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^120.
|
|
125
|
+
"@atlaskit/editor-common": "^120.6.0",
|
|
126
126
|
"react": "^18.2.0 || ^19.2.0",
|
|
127
127
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
128
128
|
},
|