@atlaskit/editor-presets 13.0.0 → 13.0.1
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-presets
|
|
2
2
|
|
|
3
|
+
## 13.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8d37dc7e55d62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8d37dc7e55d62) -
|
|
8
|
+
Clean up shipped experiment `platform_editor_block_menu`
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 13.0.0
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -102,7 +102,6 @@ var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-ex
|
|
|
102
102
|
var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
|
|
103
103
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
104
104
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
105
|
-
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
106
105
|
var _editorPluginAgentManagedExtension = require("@atlassian/editor-plugin-agent-managed-extension");
|
|
107
106
|
var _agentManagedExtensionPluginOptions = require("./pluginOptions/agentManagedExtensionPluginOptions");
|
|
108
107
|
var _analyticsPluginOptions = require("./pluginOptions/analyticsPluginOptions");
|
|
@@ -204,9 +203,9 @@ function confluenceFullPageBasePreset(props) {
|
|
|
204
203
|
options: pluginOptions.primaryToolbar
|
|
205
204
|
})]).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
205
|
options: pluginOptions.toolbar
|
|
207
|
-
})], Boolean(enabledOptionalPlugins.toolbar)).
|
|
206
|
+
})], Boolean(enabledOptionalPlugins.toolbar)).add([_editorPluginBlockMenu.blockMenuPlugin, (0, _blockMenuPluginOptions.blockMenuPluginOptions)({
|
|
208
207
|
options: pluginOptions.blockMenu
|
|
209
|
-
})]
|
|
208
|
+
})]).add(_editorPluginUndoRedo.undoRedoPlugin).add([_editorPluginBlockType.blockTypePlugin, (0, _blockTypePluginOptions.blockTypePluginOptions)({
|
|
210
209
|
options: pluginOptions.blockType
|
|
211
210
|
})]).add(_editorPluginClearMarksOnEmptyDoc.clearMarksOnEmptyDocPlugin).add([_editorPluginSelectionToolbar.selectionToolbarPlugin, (0, _selectionToolbarPluginOptions.selectionToolbarPluginOptions)({
|
|
212
211
|
options: pluginOptions.selectionToolbar,
|
|
@@ -96,7 +96,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
96
96
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
97
97
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
98
98
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
99
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
100
99
|
import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
|
|
101
100
|
import { agentManagedExtensionPluginOptions } from './pluginOptions/agentManagedExtensionPluginOptions';
|
|
102
101
|
import { analyticsPluginOptions } from './pluginOptions/analyticsPluginOptions';
|
|
@@ -200,9 +199,9 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
200
199
|
options: pluginOptions.primaryToolbar
|
|
201
200
|
})]).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
201
|
options: pluginOptions.toolbar
|
|
203
|
-
})], Boolean(enabledOptionalPlugins.toolbar)).
|
|
202
|
+
})], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
|
|
204
203
|
options: pluginOptions.blockMenu
|
|
205
|
-
})]
|
|
204
|
+
})]).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
|
|
206
205
|
options: pluginOptions.blockType
|
|
207
206
|
})]).add(clearMarksOnEmptyDocPlugin).add([selectionToolbarPlugin, selectionToolbarPluginOptions({
|
|
208
207
|
options: pluginOptions.selectionToolbar,
|
|
@@ -96,7 +96,6 @@ import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-e
|
|
|
96
96
|
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
97
97
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
98
98
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
99
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
100
99
|
import { agentManagedExtensionPlugin } from '@atlassian/editor-plugin-agent-managed-extension';
|
|
101
100
|
import { agentManagedExtensionPluginOptions } from './pluginOptions/agentManagedExtensionPluginOptions';
|
|
102
101
|
import { analyticsPluginOptions } from './pluginOptions/analyticsPluginOptions';
|
|
@@ -198,9 +197,9 @@ export function confluenceFullPageBasePreset(props) {
|
|
|
198
197
|
options: pluginOptions.primaryToolbar
|
|
199
198
|
})]).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
199
|
options: pluginOptions.toolbar
|
|
201
|
-
})], Boolean(enabledOptionalPlugins.toolbar)).
|
|
200
|
+
})], Boolean(enabledOptionalPlugins.toolbar)).add([blockMenuPlugin, blockMenuPluginOptions({
|
|
202
201
|
options: pluginOptions.blockMenu
|
|
203
|
-
})]
|
|
202
|
+
})]).add(undoRedoPlugin).add([blockTypePlugin, blockTypePluginOptions({
|
|
204
203
|
options: pluginOptions.blockType
|
|
205
204
|
})]).add(clearMarksOnEmptyDocPlugin).add([selectionToolbarPlugin, selectionToolbarPluginOptions({
|
|
206
205
|
options: pluginOptions.selectionToolbar,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-presets",
|
|
3
|
-
"version": "13.0.
|
|
3
|
+
"version": "13.0.1",
|
|
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": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-plugin-copy-button": "^19.0.0",
|
|
51
51
|
"@atlaskit/editor-plugin-custom-autoformat": "^19.0.0",
|
|
52
52
|
"@atlaskit/editor-plugin-data-consumer": "^19.0.0",
|
|
53
|
-
"@atlaskit/editor-plugin-date": "^21.
|
|
53
|
+
"@atlaskit/editor-plugin-date": "^21.1.0",
|
|
54
54
|
"@atlaskit/editor-plugin-decorations": "^19.0.0",
|
|
55
55
|
"@atlaskit/editor-plugin-editor-disabled": "^19.0.0",
|
|
56
56
|
"@atlaskit/editor-plugin-editor-viewmode": "^21.0.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/editor-plugin-extension": "^22.0.0",
|
|
61
61
|
"@atlaskit/editor-plugin-feature-flags": "^18.0.0",
|
|
62
62
|
"@atlaskit/editor-plugin-find-replace": "^19.0.0",
|
|
63
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^21.
|
|
63
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^21.1.0",
|
|
64
64
|
"@atlaskit/editor-plugin-focus": "^18.0.0",
|
|
65
65
|
"@atlaskit/editor-plugin-fragment": "^19.0.0",
|
|
66
66
|
"@atlaskit/editor-plugin-grid": "^19.0.0",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/editor-plugin-width": "^20.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": "^200.0.0",
|
|
120
120
|
"@atlassian/ari": "^3.19.0",
|
|
121
121
|
"@atlassian/editor-plugin-agent-managed-extension": "^9.0.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0"
|