@atlaskit/editor-presets 18.0.0 → 18.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,14 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 18.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5631a646dd1de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5631a646dd1de) -
8
+ Remove the platform_editor_editor_interactivity experiment; the interactivity plugin is always
9
+ added.
10
+ - Updated dependencies
11
+
3
12
  ## 18.0.0
4
13
 
5
14
  ### Patch Changes
@@ -98,7 +98,6 @@ var _editorPluginUnsupportedContent = require("@atlaskit/editor-plugin-unsupport
98
98
  var _editorPluginUserIntent = require("@atlaskit/editor-plugin-user-intent");
99
99
  var _editorPluginUserPreferences = require("@atlaskit/editor-plugin-user-preferences");
100
100
  var _editorPluginWidth = require("@atlaskit/editor-plugin-width");
101
- var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
102
101
  var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
103
102
  var _fg = require("@atlaskit/platform-feature-flags/fg");
104
103
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
@@ -305,7 +304,7 @@ function confluenceFullPageBasePreset(props) {
305
304
  rightSideControlsEnabled: (0, _fg.fg)('confluence_remix_button_right_side_block_fg') && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true)
306
305
  }]).add(_editorPluginHighlight.highlightPlugin).maybeAdd(_editorPluginConnectivity.connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([_editorPluginMetrics.metricsPlugin, (0, _metricsPluginOptions.metricsPluginOptions)({
307
306
  options: pluginOptions.metrics
308
- })], enabledOptionalPlugins.metrics).maybeAdd(_editorPluginInteractivity.interactivityPlugin, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_editor_interactivity')).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
307
+ })], enabledOptionalPlugins.metrics).add(_editorPluginInteractivity.interactivityPlugin).add([_editorPluginContentFormat.contentFormatPlugin, (0, _contentFormatPluginOptions.contentFormatPluginOptions)({
309
308
  options: pluginOptions.contentFormat
310
309
  })]).maybeAdd([_editorPluginCodeBlockAdvanced.codeBlockAdvancedPlugin, (0, _codeBlockAdvancedPluginOptions.codeBlockAdvancedPluginOptions)({
311
310
  options: pluginOptions.codeBlockAdvanced
@@ -92,7 +92,6 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
92
92
  import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
93
93
  import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
94
94
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
95
- import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
96
95
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
96
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
97
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -301,7 +300,7 @@ export function confluenceFullPageBasePreset(props) {
301
300
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
302
301
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
303
302
  options: pluginOptions.metrics
304
- })], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
303
+ })], enabledOptionalPlugins.metrics).add(interactivityPlugin).add([contentFormatPlugin, contentFormatPluginOptions({
305
304
  options: pluginOptions.contentFormat
306
305
  })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
307
306
  options: pluginOptions.codeBlockAdvanced
@@ -92,7 +92,6 @@ import { unsupportedContentPlugin } from '@atlaskit/editor-plugin-unsupported-co
92
92
  import { userIntentPlugin } from '@atlaskit/editor-plugin-user-intent';
93
93
  import { userPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
94
94
  import { widthPlugin } from '@atlaskit/editor-plugin-width';
95
- import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
96
95
  import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
97
96
  import { fg } from '@atlaskit/platform-feature-flags/fg';
98
97
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
@@ -299,7 +298,7 @@ export function confluenceFullPageBasePreset(props) {
299
298
  rightSideControlsEnabled: fg('confluence_remix_button_right_side_block_fg') && expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true)
300
299
  }]).add(highlightPlugin).maybeAdd(connectivityPlugin, enabledOptionalPlugins.connectivity).maybeAdd([metricsPlugin, metricsPluginOptions({
301
300
  options: pluginOptions.metrics
302
- })], enabledOptionalPlugins.metrics).maybeAdd(interactivityPlugin, isExperimentEnabled('platform_editor_editor_interactivity')).add([contentFormatPlugin, contentFormatPluginOptions({
301
+ })], enabledOptionalPlugins.metrics).add(interactivityPlugin).add([contentFormatPlugin, contentFormatPluginOptions({
303
302
  options: pluginOptions.contentFormat
304
303
  })]).maybeAdd([codeBlockAdvancedPlugin, codeBlockAdvancedPluginOptions({
305
304
  options: pluginOptions.codeBlockAdvanced
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "18.0.0",
3
+ "version": "18.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": {