@atlaskit/editor-presets 16.0.2 → 16.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
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 16.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a4fe8636fa0ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a4fe8636fa0ec) -
|
|
8
|
+
Clean up the fully rolled out `platform_editor_layout_column_menu` experiment and the
|
|
9
|
+
`platform_editor_layout_column_menu_kill_switch_1` feature gate, retaining their shipped behavior.
|
|
10
|
+
Consumers must remove any direct `@atlaskit/tmp-editor-statsig` experiment override for
|
|
11
|
+
`platform_editor_layout_column_menu`.
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 16.0.3
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 16.0.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -201,7 +201,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
201
201
|
options: pluginOptions.typeAhead
|
|
202
202
|
})]).add(_editorPluginHistory.historyPlugin).add([_editorPluginPrimaryToolbar.primaryToolbarPlugin, (0, _primaryToolbarPluginOptions.primaryToolbarPluginOptions)({
|
|
203
203
|
options: pluginOptions.primaryToolbar
|
|
204
|
-
})]).
|
|
204
|
+
})]).add(_editorPluginUiControlRegistry.uiControlRegistryPlugin).maybeAdd([_editorPluginToolbar.toolbarPlugin, (0, _toolbarPluginOptions.toolbarPluginOptions)({
|
|
205
205
|
options: pluginOptions.toolbar
|
|
206
206
|
})], Boolean(enabledOptionalPlugins.toolbar)).add([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
|
|
207
207
|
options: pluginOptions.blockMenu
|
|
@@ -275,10 +275,7 @@ function confluenceFullPageBasePreset(props) {
|
|
|
275
275
|
options: pluginOptions.placeholderText
|
|
276
276
|
})]).add([_editorPluginLayout.layoutPlugin, (0, _layoutPluginOptions.layoutPluginOptions)({
|
|
277
277
|
options: pluginOptions.layout
|
|
278
|
-
})]).
|
|
279
|
-
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
280
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
281
|
-
_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)({
|
|
278
|
+
})]).add([_editorPluginCard.cardPlugin, (0, _cardPluginOptions.cardPluginOptions)({
|
|
282
279
|
options: pluginOptions.card,
|
|
283
280
|
providers: providers
|
|
284
281
|
})]).add([_editorPluginCustomAutoformat.customAutoformatPlugin, (0, _customAutoformatPluginOptions.customAutoformatPluginOptions)({
|
|
@@ -197,7 +197,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
197
197
|
options: pluginOptions.typeAhead
|
|
198
198
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
199
199
|
options: pluginOptions.primaryToolbar
|
|
200
|
-
})]).
|
|
200
|
+
})]).add(uiControlRegistryPlugin).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
201
201
|
options: pluginOptions.toolbar
|
|
202
202
|
})], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
|
|
203
203
|
options: pluginOptions.blockMenu
|
|
@@ -271,10 +271,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
271
271
|
options: pluginOptions.placeholderText
|
|
272
272
|
})]).add([layoutPlugin, layoutPluginOptions({
|
|
273
273
|
options: pluginOptions.layout
|
|
274
|
-
})]).
|
|
275
|
-
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
276
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
277
|
-
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({
|
|
274
|
+
})]).add([cardPlugin, cardPluginOptions({
|
|
278
275
|
options: pluginOptions.card,
|
|
279
276
|
providers
|
|
280
277
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
|
@@ -195,7 +195,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
195
195
|
options: pluginOptions.typeAhead
|
|
196
196
|
})]).add(historyPlugin).add([primaryToolbarPlugin, primaryToolbarPluginOptions({
|
|
197
197
|
options: pluginOptions.primaryToolbar
|
|
198
|
-
})]).
|
|
198
|
+
})]).add(uiControlRegistryPlugin).maybeAdd([toolbarPlugin, toolbarPluginOptions({
|
|
199
199
|
options: pluginOptions.toolbar
|
|
200
200
|
})], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
|
|
201
201
|
options: pluginOptions.blockMenu
|
|
@@ -269,10 +269,7 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
269
269
|
options: pluginOptions.placeholderText
|
|
270
270
|
})]).add([layoutPlugin, layoutPluginOptions({
|
|
271
271
|
options: pluginOptions.layout
|
|
272
|
-
})]).
|
|
273
|
-
// Register uiControlRegistry before cardPlugin so card can register paste menu components at init.
|
|
274
|
-
// @ts-expect-error - Preserve paste registry order; mutually exclusive with earlier insertion.
|
|
275
|
-
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({
|
|
272
|
+
})]).add([cardPlugin, cardPluginOptions({
|
|
276
273
|
options: pluginOptions.card,
|
|
277
274
|
providers: providers
|
|
278
275
|
})]).add([customAutoformatPlugin, customAutoformatPluginOptions({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.4",
|
|
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": {
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^23.0.0",
|
|
117
117
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
118
118
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
119
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
119
|
+
"@atlaskit/tmp-editor-statsig": "^213.0.0",
|
|
120
120
|
"@atlassian/ari": "^3.19.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^12.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|
|
123
123
|
},
|
|
124
124
|
"peerDependencies": {
|
|
125
|
-
"@atlaskit/editor-common": "^126.
|
|
125
|
+
"@atlaskit/editor-common": "^126.2.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
|
},
|