@atlaskit/editor-plugin-block-type 5.1.25 → 5.2.0

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,26 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#158546](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/158546)
8
+ [`b7fe4e6f226f3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b7fe4e6f226f3) -
9
+ ED-27284 use user preferences plugin in editor preset.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 5.1.26
16
+
17
+ ### Patch Changes
18
+
19
+ - [#169224](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169224)
20
+ [`95aee735823c6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/95aee735823c6) -
21
+ [ux] ED-27798: Show T icon for block type plugin toolbar, and show only bold as single button,
22
+ italic as dropdown in text formatting toolbar
23
+
3
24
  ## 5.1.25
4
25
 
5
26
  ### Patch Changes
@@ -208,8 +208,9 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
208
208
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined,
209
209
  pluginsOptions: _objectSpread({
210
210
  selectionToolbar: function selectionToolbar() {
211
- var _api$selectionToolbar;
212
- if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
211
+ var _api$userPreferences, _api$selectionToolbar;
212
+ var toolbarDocking = (0, _platformFeatureFlags.fg)('platform_editor_use_preferences_plugin') ? api === null || api === void 0 || (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.preferences) === null || _api$userPreferences === void 0 ? void 0 : _api$userPreferences.toolbarDockingPosition : api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking;
213
+ if (toolbarDocking === 'none' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
213
214
  exposure: true
214
215
  })) {
215
216
  var toolbarCustom = {
@@ -16,7 +16,7 @@ var _text = _interopRequireDefault(require("@atlaskit/icon/core/text"));
16
16
  var _textStyle = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/text-style"));
17
17
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
18
18
  var _primitives = require("@atlaskit/primitives");
19
- var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
19
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
20
20
  var _blockTypes = require("../../block-types");
21
21
  var _styled = require("./styled");
22
22
  /**
@@ -41,13 +41,14 @@ var BlockTypeButton = exports.BlockTypeButton = function BlockTypeButton(props)
41
41
  blockTypeName: blockTypeName
42
42
  });
43
43
  var toolipTextStyles = props.formatMessage(_messages.toolbarMessages.textStylesTooltip);
44
- var icon = (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : (0, _react2.jsx)(_text.default, {
44
+ var icon = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : (0, _react2.jsx)(_text.default, {
45
45
  label: labelTextStyles,
46
46
  spacing: "spacious",
47
47
  color: "currentColor",
48
48
  LEGACY_fallbackIcon: _textStyle.default
49
49
  });
50
- var chevronIconSpacing = props.isSmall && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_4') ? 'spacious' : 'none';
50
+ var chevronIconSpacing = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (props.isSmall && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_4') || !props.isSmall && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_13')) ? 'spacious' : 'none';
51
+ var shouldUseIconAsButton = props.isSmall || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_13');
51
52
  return (0, _react2.jsx)(_uiMenu.ToolbarButton, {
52
53
  spacing: props.isReducedSpacing ? 'none' : 'default',
53
54
  selected: props.selected
@@ -65,7 +66,7 @@ var BlockTypeButton = exports.BlockTypeButton = function BlockTypeButton(props)
65
66
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
66
67
  css: [_styles.wrapperStyle, props.isSmall && _styled.wrapperSmallStyle],
67
68
  "data-testid": "toolbar-block-type-text-styles-icon"
68
- }, (0, _react2.jsx)(_react.default.Fragment, null, props.isSmall && icon, (0, _react2.jsx)("span", {
69
+ }, (0, _react2.jsx)(_react.default.Fragment, null, shouldUseIconAsButton && icon, (0, _react2.jsx)("span", {
69
70
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
70
71
  css: _styles.expandIconContainerStyle
71
72
  }, (0, _react2.jsx)(_chevronDown.default, {
@@ -75,7 +76,7 @@ var BlockTypeButton = exports.BlockTypeButton = function BlockTypeButton(props)
75
76
  LEGACY_margin: "0 0 0 -8px",
76
77
  size: "small"
77
78
  }))))
78
- }, !props.isSmall && (0, _react2.jsx)(_primitives.Box, {
79
+ }, !shouldUseIconAsButton && (0, _react2.jsx)(_primitives.Box, {
79
80
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
80
81
  }, (0, _react2.jsx)(_reactIntlNext.FormattedMessage
81
82
  // Ignored via go/ees005
@@ -195,8 +195,9 @@ const blockTypePlugin = ({
195
195
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined,
196
196
  pluginsOptions: {
197
197
  selectionToolbar: () => {
198
- var _api$selectionToolbar, _api$selectionToolbar2, _api$selectionToolbar3;
199
- if ((api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
198
+ var _api$userPreferences, _api$userPreferences$, _api$userPreferences$2, _api$selectionToolbar, _api$selectionToolbar2, _api$selectionToolbar3;
199
+ const toolbarDocking = fg('platform_editor_use_preferences_plugin') ? api === null || api === void 0 ? void 0 : (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 ? void 0 : (_api$userPreferences$ = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences$ === void 0 ? void 0 : (_api$userPreferences$2 = _api$userPreferences$.preferences) === null || _api$userPreferences$2 === void 0 ? void 0 : _api$userPreferences$2.toolbarDockingPosition : api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking;
200
+ if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
200
201
  exposure: true
201
202
  })) {
202
203
  const toolbarCustom = {
@@ -15,7 +15,7 @@ import TextIcon from '@atlaskit/icon/core/text';
15
15
  import { default as TextStyleIconLegacy } from '@atlaskit/icon/glyph/editor/text-style';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { Box, xcss } from '@atlaskit/primitives';
18
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
19
19
  import { NORMAL_TEXT } from '../../block-types';
20
20
  import { wrapperSmallStyle } from './styled';
21
21
  const buttonContentStyle = xcss({
@@ -33,13 +33,14 @@ export const BlockTypeButton = props => {
33
33
  blockTypeName
34
34
  });
35
35
  const toolipTextStyles = props.formatMessage(toolbarMessages.textStylesTooltip);
36
- const icon = editorExperiment('platform_editor_controls', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : jsx(TextIcon, {
36
+ const icon = expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : jsx(TextIcon, {
37
37
  label: labelTextStyles,
38
38
  spacing: "spacious",
39
39
  color: "currentColor",
40
40
  LEGACY_fallbackIcon: TextStyleIconLegacy
41
41
  });
42
- const chevronIconSpacing = props.isSmall && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_4') ? 'spacious' : 'none';
42
+ const chevronIconSpacing = expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && (props.isSmall && fg('platform_editor_controls_patch_4') || !props.isSmall && fg('platform_editor_controls_patch_13')) ? 'spacious' : 'none';
43
+ const shouldUseIconAsButton = props.isSmall || expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_13');
43
44
  return jsx(ToolbarButton, {
44
45
  spacing: props.isReducedSpacing ? 'none' : 'default',
45
46
  selected: props.selected
@@ -57,7 +58,7 @@ export const BlockTypeButton = props => {
57
58
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
59
  css: [wrapperStyle, props.isSmall && wrapperSmallStyle],
59
60
  "data-testid": "toolbar-block-type-text-styles-icon"
60
- }, jsx(React.Fragment, null, props.isSmall && icon, jsx("span", {
61
+ }, jsx(React.Fragment, null, shouldUseIconAsButton && icon, jsx("span", {
61
62
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
62
63
  css: expandIconContainerStyle
63
64
  }, jsx(ChevronDownIcon, {
@@ -67,7 +68,7 @@ export const BlockTypeButton = props => {
67
68
  LEGACY_margin: "0 0 0 -8px",
68
69
  size: "small"
69
70
  }))))
70
- }, !props.isSmall && jsx(Box, {
71
+ }, !shouldUseIconAsButton && jsx(Box, {
71
72
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
72
73
  }, jsx(FormattedMessage
73
74
  // Ignored via go/ees005
@@ -201,8 +201,9 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
201
201
  primaryToolbarComponent: !(api !== null && api !== void 0 && api.primaryToolbar) ? primaryToolbarComponent : undefined,
202
202
  pluginsOptions: _objectSpread({
203
203
  selectionToolbar: function selectionToolbar() {
204
- var _api$selectionToolbar;
205
- if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
204
+ var _api$userPreferences, _api$selectionToolbar;
205
+ var toolbarDocking = fg('platform_editor_use_preferences_plugin') ? api === null || api === void 0 || (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.preferences) === null || _api$userPreferences === void 0 ? void 0 : _api$userPreferences.toolbarDockingPosition : api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking;
206
+ if (toolbarDocking === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
206
207
  exposure: true
207
208
  })) {
208
209
  var toolbarCustom = {
@@ -15,7 +15,7 @@ import TextIcon from '@atlaskit/icon/core/text';
15
15
  import { default as TextStyleIconLegacy } from '@atlaskit/icon/glyph/editor/text-style';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { Box, xcss } from '@atlaskit/primitives';
18
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
19
19
  import { NORMAL_TEXT } from '../../block-types';
20
20
  import { wrapperSmallStyle } from './styled';
21
21
  var buttonContentStyle = xcss({
@@ -33,13 +33,14 @@ export var BlockTypeButton = function BlockTypeButton(props) {
33
33
  blockTypeName: blockTypeName
34
34
  });
35
35
  var toolipTextStyles = props.formatMessage(toolbarMessages.textStylesTooltip);
36
- var icon = editorExperiment('platform_editor_controls', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : jsx(TextIcon, {
36
+ var icon = expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && props.blockTypeIcon ? props.blockTypeIcon : jsx(TextIcon, {
37
37
  label: labelTextStyles,
38
38
  spacing: "spacious",
39
39
  color: "currentColor",
40
40
  LEGACY_fallbackIcon: TextStyleIconLegacy
41
41
  });
42
- var chevronIconSpacing = props.isSmall && editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_controls_patch_4') ? 'spacious' : 'none';
42
+ var chevronIconSpacing = expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && (props.isSmall && fg('platform_editor_controls_patch_4') || !props.isSmall && fg('platform_editor_controls_patch_13')) ? 'spacious' : 'none';
43
+ var shouldUseIconAsButton = props.isSmall || expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_13');
43
44
  return jsx(ToolbarButton, {
44
45
  spacing: props.isReducedSpacing ? 'none' : 'default',
45
46
  selected: props.selected
@@ -57,7 +58,7 @@ export var BlockTypeButton = function BlockTypeButton(props) {
57
58
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
58
59
  css: [wrapperStyle, props.isSmall && wrapperSmallStyle],
59
60
  "data-testid": "toolbar-block-type-text-styles-icon"
60
- }, jsx(React.Fragment, null, props.isSmall && icon, jsx("span", {
61
+ }, jsx(React.Fragment, null, shouldUseIconAsButton && icon, jsx("span", {
61
62
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values -- Ignored via go/DSP-18766
62
63
  css: expandIconContainerStyle
63
64
  }, jsx(ChevronDownIcon, {
@@ -67,7 +68,7 @@ export var BlockTypeButton = function BlockTypeButton(props) {
67
68
  LEGACY_margin: "0 0 0 -8px",
68
69
  size: "small"
69
70
  }))))
70
- }, !props.isSmall && jsx(Box, {
71
+ }, !shouldUseIconAsButton && jsx(Box, {
71
72
  xcss: [buttonContentStyle, props.isReducedSpacing && buttonContentReducedSpacingStyle]
72
73
  }, jsx(FormattedMessage
73
74
  // Ignored via go/ees005
@@ -2,6 +2,7 @@ import type { Command, EditorCommand, NextEditorPlugin, OptionalPlugin } from '@
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
4
4
  import type { SelectionToolbarPlugin } from '@atlaskit/editor-plugin-selection-toolbar';
5
+ import type { UserPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
5
6
  import type { TextBlockTypes } from './pm-plugins/block-types';
6
7
  import type { ClearFormattingInputMethod, InputMethod } from './pm-plugins/commands/block-type';
7
8
  import type { BlockTypeState } from './pm-plugins/main';
@@ -11,7 +12,8 @@ export type BlockTypePlugin = NextEditorPlugin<'blockType', {
11
12
  dependencies: [
12
13
  OptionalPlugin<AnalyticsPlugin>,
13
14
  OptionalPlugin<PrimaryToolbarPlugin>,
14
- OptionalPlugin<SelectionToolbarPlugin>
15
+ OptionalPlugin<SelectionToolbarPlugin>,
16
+ OptionalPlugin<UserPreferencesPlugin>
15
17
  ];
16
18
  sharedState: BlockTypeState | undefined;
17
19
  actions: {
@@ -2,6 +2,7 @@ import type { Command, EditorCommand, NextEditorPlugin, OptionalPlugin } from '@
2
2
  import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugin-primary-toolbar';
4
4
  import type { SelectionToolbarPlugin } from '@atlaskit/editor-plugin-selection-toolbar';
5
+ import type { UserPreferencesPlugin } from '@atlaskit/editor-plugin-user-preferences';
5
6
  import type { TextBlockTypes } from './pm-plugins/block-types';
6
7
  import type { ClearFormattingInputMethod, InputMethod } from './pm-plugins/commands/block-type';
7
8
  import type { BlockTypeState } from './pm-plugins/main';
@@ -11,7 +12,8 @@ export type BlockTypePlugin = NextEditorPlugin<'blockType', {
11
12
  dependencies: [
12
13
  OptionalPlugin<AnalyticsPlugin>,
13
14
  OptionalPlugin<PrimaryToolbarPlugin>,
14
- OptionalPlugin<SelectionToolbarPlugin>
15
+ OptionalPlugin<SelectionToolbarPlugin>,
16
+ OptionalPlugin<UserPreferencesPlugin>
15
17
  ];
16
18
  sharedState: BlockTypeState | undefined;
17
19
  actions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "5.1.25",
3
+ "version": "5.2.0",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,10 +36,10 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^47.6.0",
39
- "@atlaskit/editor-common": "^106.6.0",
39
+ "@atlaskit/editor-common": "^106.7.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
42
- "@atlaskit/editor-plugin-selection-toolbar": "^3.6.0",
42
+ "@atlaskit/editor-plugin-selection-toolbar": "^3.7.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.4.0",
45
45
  "@atlaskit/editor-tables": "^2.9.0",
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
52
  "@atlaskit/tmp-editor-statsig": "^7.0.0",
53
- "@atlaskit/tokens": "^5.1.0",
53
+ "@atlaskit/tokens": "^5.2.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"
56
56
  },
@@ -117,9 +117,15 @@
117
117
  "platform_editor_controls_patch_10": {
118
118
  "type": "boolean"
119
119
  },
120
+ "platform_editor_controls_patch_13": {
121
+ "type": "boolean"
122
+ },
120
123
  "platform_editor_comments_toolbar_responsiveness": {
121
124
  "type": "boolean"
122
125
  },
126
+ "platform_editor_use_preferences_plugin": {
127
+ "type": "boolean"
128
+ },
123
129
  "platform_editor_controls_patch_4": {
124
130
  "type": "boolean"
125
131
  }