@atlaskit/editor-core 197.5.3 → 197.7.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.
Files changed (28) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/cjs/composable-editor/editor-internal.js +2 -1
  3. package/dist/cjs/composable-editor/hooks/useProviders.js +10 -1
  4. package/dist/cjs/composable-editor/utils/handleProviders.js +3 -1
  5. package/dist/cjs/presets/universal.js +5 -3
  6. package/dist/cjs/ui/ContentStyles/index.js +4 -3
  7. package/dist/cjs/version-wrapper.js +1 -1
  8. package/dist/es2019/composable-editor/editor-internal.js +2 -1
  9. package/dist/es2019/composable-editor/hooks/useProviders.js +10 -1
  10. package/dist/es2019/composable-editor/utils/handleProviders.js +3 -1
  11. package/dist/es2019/presets/universal.js +5 -2
  12. package/dist/es2019/ui/ContentStyles/index.js +7 -5
  13. package/dist/es2019/version-wrapper.js +1 -1
  14. package/dist/esm/composable-editor/editor-internal.js +2 -1
  15. package/dist/esm/composable-editor/hooks/useProviders.js +10 -1
  16. package/dist/esm/composable-editor/utils/handleProviders.js +3 -1
  17. package/dist/esm/presets/universal.js +5 -3
  18. package/dist/esm/ui/ContentStyles/index.js +4 -4
  19. package/dist/esm/version-wrapper.js +1 -1
  20. package/dist/types/composable-editor/hooks/useProviders.d.ts +3 -2
  21. package/dist/types/create-editor/create-universal-preset.d.ts +7 -1
  22. package/dist/types/presets/universal.d.ts +11 -1
  23. package/dist/types/presets/useUniversalPreset.d.ts +7 -1
  24. package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +3 -2
  25. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +7 -1
  26. package/dist/types-ts4.5/presets/universal.d.ts +11 -1
  27. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +7 -1
  28. package/package.json +12 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 197.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#140548](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140548)
8
+ [`36d26892db64c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/36d26892db64c) -
9
+ ED-24762 Add support for hasEditPermission in tasks and decision plugin
10
+
11
+ ### Patch Changes
12
+
13
+ - [#140548](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/140548)
14
+ [`05d7b5dc7aae5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/05d7b5dc7aae5) -
15
+ [ux] ED-24770 removed disabled style for task and decision
16
+ - Updated dependencies
17
+
18
+ ## 197.6.0
19
+
20
+ ### Minor Changes
21
+
22
+ - [#139831](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/139831)
23
+ [`181c907365d7d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/181c907365d7d) -
24
+ Pass autoformat provider via preset
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies
29
+
3
30
  ## 197.5.3
4
31
 
5
32
  ### Patch Changes
@@ -165,7 +165,8 @@ function ReactEditorViewContextWrapper(props) {
165
165
  contextIdentifierProvider: props.editorProps.contextIdentifierProvider,
166
166
  mediaProvider: (_props$editorProps$me = props.editorProps.media) === null || _props$editorProps$me === void 0 ? void 0 : _props$editorProps$me.provider,
167
167
  cardProvider: ((_props$editorProps$li = props.editorProps.linking) === null || _props$editorProps$li === void 0 || (_props$editorProps$li = _props$editorProps$li.smartLinks) === null || _props$editorProps$li === void 0 ? void 0 : _props$editorProps$li.provider) || smartLinks && smartLinks.provider || UNSAFE_cards && UNSAFE_cards.provider,
168
- emojiProvider: props.editorProps.emojiProvider
168
+ emojiProvider: props.editorProps.emojiProvider,
169
+ autoformattingProvider: props.editorProps.autoformattingProvider
169
170
  });
170
171
  return (0, _react2.jsx)(_ReactEditorView.default, (0, _extends2.default)({}, props, {
171
172
  setEditorApi: setEditorAPI
@@ -22,7 +22,8 @@ var useProviders = exports.useProviders = function useProviders(_ref) {
22
22
  var contextIdentifierProvider = _ref.contextIdentifierProvider,
23
23
  mediaProvider = _ref.mediaProvider,
24
24
  cardProvider = _ref.cardProvider,
25
- emojiProvider = _ref.emojiProvider;
25
+ emojiProvider = _ref.emojiProvider,
26
+ autoformattingProvider = _ref.autoformattingProvider;
26
27
  var editorApi = (0, _context2.usePresetContext)();
27
28
  (0, _react.useEffect)(function () {
28
29
  function setProvider() {
@@ -78,4 +79,12 @@ var useProviders = exports.useProviders = function useProviders(_ref) {
78
79
  }
79
80
  }
80
81
  }, [emojiProvider, editorApi]);
82
+ (0, _react.useEffect)(function () {
83
+ if ((0, _platformFeatureFlags.fg)('platform_editor_autoformatting_provider_from_plugin_config')) {
84
+ if (autoformattingProvider) {
85
+ var _editorApi$customAuto;
86
+ editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
87
+ }
88
+ }
89
+ }, [autoformattingProvider, editorApi]);
81
90
  };
@@ -43,7 +43,9 @@ function handleProviders(providerFactory, _ref, extensionProvider, quickInsertPr
43
43
  if (!(0, _platformFeatureFlags.fg)('platform_editor_card_provider_from_plugin_config')) {
44
44
  providerFactory.setProvider('cardProvider', cardProvider);
45
45
  }
46
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
46
+ if (!(0, _platformFeatureFlags.fg)('platform_editor_autoformatting_provider_from_plugin_config')) {
47
+ providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
48
+ }
47
49
  if (extensionProvider) {
48
50
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
49
51
  }
@@ -160,11 +160,11 @@ function createUniversalPresetInternal(_ref) {
160
160
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
161
161
  isCommentEditor: isComment,
162
162
  isChromelessEditor: isChromeless
163
- }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
163
+ }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, _objectSpread({
164
164
  allowNestedTasks: props.allowNestedTasks,
165
165
  consumeTabs: isFullPage,
166
166
  useLongPressSelection: false
167
- }], Boolean(props.allowTasksAndDecisions || props.taskDecisionProvider)).maybeAdd([_feedbackDialog.feedbackDialogPlugin, _objectSpread({
167
+ }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tasksAndDecisionsPlugin)], Boolean(props.allowTasksAndDecisions || props.taskDecisionProvider)).maybeAdd([_feedbackDialog.feedbackDialogPlugin, _objectSpread({
168
168
  coreVersion: _versionWrapper.version
169
169
  }, props.feedbackInfo)], Boolean(props.feedbackInfo)).maybeAdd([_helpDialog.helpDialogPlugin, !!props.legacyImageUploadProvider], Boolean(props.allowHelpDialog)).maybeAdd([_saveOnEnter.saveOnEnterPlugin, props.onSave], Boolean(props.saveOnEnter && props.onSave)).maybeAdd(_imageUpload.imageUploadPlugin, Boolean(props.legacyImageUploadProvider)).maybeAdd(
170
170
  // duplicate plugin exists because first one if media is enabled
@@ -208,7 +208,9 @@ function createUniversalPresetInternal(_ref) {
208
208
  editorAppearance: appearance,
209
209
  // @ts-ignore Temporary solution to check for Live Page editor.
210
210
  __livePage: props.__livePage
211
- })], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd(_customAutoformat.customAutoformatPlugin, Boolean(props.autoformattingProvider)).maybeAdd([_status.statusPlugin, {
211
+ })], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd([_customAutoformat.customAutoformatPlugin, {
212
+ autoformattingProvider: props.autoformattingProvider
213
+ }], Boolean(props.autoformattingProvider)).maybeAdd([_status.statusPlugin, {
212
214
  menuDisabled: statusMenuDisabled,
213
215
  allowZeroWidthSpaceAfter: true
214
216
  }], Boolean(props.allowStatus)).maybeAdd(_indentation.indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(_scrollIntoView.scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([_toolbarListsIndentation.toolbarListsIndentationPlugin, {
@@ -21,6 +21,7 @@ var _styles3 = require("@atlaskit/editor-plugins/find-replace/styles");
21
21
  var _styles4 = require("@atlaskit/editor-plugins/paste-options-toolbar/styles");
22
22
  var _styles5 = require("@atlaskit/editor-plugins/placeholder-text/styles");
23
23
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
24
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
24
25
  var _colors = require("@atlaskit/theme/colors");
25
26
  var _tokens = require("@atlaskit/tokens");
26
27
  var _getInlineNodeViewProducer = require("../../nodeviews/getInlineNodeViewProducer.styles");
@@ -35,7 +36,7 @@ var _media = require("./media");
35
36
  var _panel = require("./panel");
36
37
  var _status = require("./status");
37
38
  var _tasksAndDecisions = require("./tasks-and-decisions");
38
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
39
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
39
40
  /* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
40
41
  /* eslint-disable react-hooks/rules-of-hooks */
41
42
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- Requires manual remediation over time due to use of unsafe nested mixins */
@@ -77,9 +78,9 @@ var placeholderStyles = exports.placeholderStyles = (0, _react2.css)({
77
78
  // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
78
79
  var akEditorBreakpointForSmallDevice = "1266px";
79
80
  var contentStyles = function contentStyles(props) {
80
- return (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
81
+ return (0, _react2.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t", "\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), _editorSharedStyles.akEditorGutterPadding, _editorSharedStyles.akEditorDefaultLayoutWidth, _editorSharedStyles.akEditorFullWidthLayoutWidth, _editorSharedStyles.akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, _editorSharedStyles.akEditorCalculatedWideLayoutWidth, (0, _editorSharedStyles.editorFontSize)({
81
82
  theme: props.theme
82
- }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel.panelStyles)(), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
83
+ }), _styles.whitespaceSharedStyles, _styles.paragraphSharedStyles, _styles.listsSharedStyles, _styles.indentationSharedStyles, _styles.shadowSharedStyle, _getInlineNodeViewProducer.InlineNodeViewSharedStyles, (0, _platformFeatureFlags.fg)('editor_request_to_edit_task') ? null : (0, _react2.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", _styles5.placeholderTextStyles, placeholderStyles, (0, _codeBlock.codeBlockStyles)(), (0, _styles2.blocktypeStyles)(), (0, _styles.codeMarkSharedStyles)(), _styles.textColorStyles, (0, _styles.backgroundColorStyles)(), listsStyles, ruleStyles(), _media.mediaStyles, (0, _layout.layoutStyles)(props.viewMode), _collab.telepointerStyle, _selection.gapCursorStyles, (0, _panel.panelStyles)(), mentionsStyles, emojiStyles, _styles.tasksAndDecisionsStyles, _styles.gridStyles, linkStyles, _styles.blockMarksSharedStyles, _styles.dateSharedStyle, _extension.extensionStyles, (0, _expand.expandStyles)(), _styles3.findReplaceStyles, _styles4.textHighlightStyle, _tasksAndDecisions.taskDecisionStyles, _status.statusStyles, (0, _styles.annotationSharedStyles)(), (0, _styles.smartCardStyles)(), _styles.smartCardSharedStyles, _date.dateStyles, _styles.embedCardStyles, _styles.unsupportedStyles, _styles.resizerStyles, (0, _aiPanels.aiPanelStyles)(props.colorMode), _styles.MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
83
84
  };
84
85
  var createEditorContentStyle = exports.createEditorContentStyle = function createEditorContentStyle(styles) {
85
86
  return /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "197.5.3";
8
+ var version = exports.version = "197.7.0";
@@ -157,7 +157,8 @@ function ReactEditorViewContextWrapper(props) {
157
157
  contextIdentifierProvider: props.editorProps.contextIdentifierProvider,
158
158
  mediaProvider: (_props$editorProps$me = props.editorProps.media) === null || _props$editorProps$me === void 0 ? void 0 : _props$editorProps$me.provider,
159
159
  cardProvider: ((_props$editorProps$li = props.editorProps.linking) === null || _props$editorProps$li === void 0 ? void 0 : (_props$editorProps$li2 = _props$editorProps$li.smartLinks) === null || _props$editorProps$li2 === void 0 ? void 0 : _props$editorProps$li2.provider) || smartLinks && smartLinks.provider || UNSAFE_cards && UNSAFE_cards.provider,
160
- emojiProvider: props.editorProps.emojiProvider
160
+ emojiProvider: props.editorProps.emojiProvider,
161
+ autoformattingProvider: props.editorProps.autoformattingProvider
161
162
  });
162
163
  return jsx(ReactEditorView, _extends({}, props, {
163
164
  setEditorApi: setEditorAPI
@@ -13,7 +13,8 @@ export const useProviders = ({
13
13
  contextIdentifierProvider,
14
14
  mediaProvider,
15
15
  cardProvider,
16
- emojiProvider
16
+ emojiProvider,
17
+ autoformattingProvider
17
18
  }) => {
18
19
  const editorApi = usePresetContext();
19
20
  useEffect(() => {
@@ -49,4 +50,12 @@ export const useProviders = ({
49
50
  }
50
51
  }
51
52
  }, [emojiProvider, editorApi]);
53
+ useEffect(() => {
54
+ if (fg('platform_editor_autoformatting_provider_from_plugin_config')) {
55
+ if (autoformattingProvider) {
56
+ var _editorApi$customAuto;
57
+ editorApi === null || editorApi === void 0 ? void 0 : (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 ? void 0 : _editorApi$customAuto.actions.setProvider(autoformattingProvider);
58
+ }
59
+ }
60
+ }, [autoformattingProvider, editorApi]);
52
61
  };
@@ -39,7 +39,9 @@ export default function handleProviders(providerFactory, {
39
39
  if (!fg('platform_editor_card_provider_from_plugin_config')) {
40
40
  providerFactory.setProvider('cardProvider', cardProvider);
41
41
  }
42
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
42
+ if (!fg('platform_editor_autoformatting_provider_from_plugin_config')) {
43
+ providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
44
+ }
43
45
  if (extensionProvider) {
44
46
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
45
47
  }
@@ -156,7 +156,8 @@ export default function createUniversalPresetInternal({
156
156
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
157
157
  allowNestedTasks: props.allowNestedTasks,
158
158
  consumeTabs: isFullPage,
159
- useLongPressSelection: false
159
+ useLongPressSelection: false,
160
+ ...(initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tasksAndDecisionsPlugin)
160
161
  }], Boolean(props.allowTasksAndDecisions || props.taskDecisionProvider)).maybeAdd([feedbackDialogPlugin, {
161
162
  coreVersion,
162
163
  ...props.feedbackInfo
@@ -207,7 +208,9 @@ export default function createUniversalPresetInternal({
207
208
  editorAppearance: appearance,
208
209
  // @ts-ignore Temporary solution to check for Live Page editor.
209
210
  __livePage: props.__livePage
210
- }], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd(customAutoformatPlugin, Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
211
+ }], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd([customAutoformatPlugin, {
212
+ autoformattingProvider: props.autoformattingProvider
213
+ }], Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
211
214
  menuDisabled: statusMenuDisabled,
212
215
  allowZeroWidthSpaceAfter: true
213
216
  }], Boolean(props.allowStatus)).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
@@ -23,6 +23,7 @@ import { findReplaceStyles } from '@atlaskit/editor-plugins/find-replace/styles'
23
23
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
24
24
  import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
25
25
  import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
26
+ import { fg } from '@atlaskit/platform-feature-flags';
26
27
  import { N200, N30A, N500 } from '@atlaskit/theme/colors';
27
28
  import { useThemeObserver } from '@atlaskit/tokens';
28
29
  import { InlineNodeViewSharedStyles } from '../../nodeviews/getInlineNodeViewProducer.styles';
@@ -37,7 +38,6 @@ import { mediaStyles } from './media';
37
38
  import { panelStyles } from './panel';
38
39
  import { statusStyles } from './status';
39
40
  import { taskDecisionStyles } from './tasks-and-decisions';
40
-
41
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
42
42
  export const linkStyles = css`
43
43
  .ProseMirror {
@@ -195,10 +195,12 @@ const contentStyles = props => css`
195
195
  ${InlineNodeViewSharedStyles};
196
196
  }
197
197
 
198
- .ProseMirror[contenteditable='false'] .taskItemView-content-wrap {
199
- pointer-events: none;
200
- opacity: 0.7;
201
- }
198
+ ${fg('editor_request_to_edit_task') ? null : css`
199
+ .ProseMirror[contenteditable='false'] .taskItemView-content-wrap {
200
+ pointer-events: none;
201
+ opacity: 0.7;
202
+ }
203
+ `}
202
204
 
203
205
  .ProseMirror-hideselection *::selection {
204
206
  background: transparent;
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "197.5.3";
2
+ export const version = "197.7.0";
@@ -161,7 +161,8 @@ function ReactEditorViewContextWrapper(props) {
161
161
  contextIdentifierProvider: props.editorProps.contextIdentifierProvider,
162
162
  mediaProvider: (_props$editorProps$me = props.editorProps.media) === null || _props$editorProps$me === void 0 ? void 0 : _props$editorProps$me.provider,
163
163
  cardProvider: ((_props$editorProps$li = props.editorProps.linking) === null || _props$editorProps$li === void 0 || (_props$editorProps$li = _props$editorProps$li.smartLinks) === null || _props$editorProps$li === void 0 ? void 0 : _props$editorProps$li.provider) || smartLinks && smartLinks.provider || UNSAFE_cards && UNSAFE_cards.provider,
164
- emojiProvider: props.editorProps.emojiProvider
164
+ emojiProvider: props.editorProps.emojiProvider,
165
+ autoformattingProvider: props.editorProps.autoformattingProvider
165
166
  });
166
167
  return jsx(ReactEditorView, _extends({}, props, {
167
168
  setEditorApi: setEditorAPI
@@ -15,7 +15,8 @@ export var useProviders = function useProviders(_ref) {
15
15
  var contextIdentifierProvider = _ref.contextIdentifierProvider,
16
16
  mediaProvider = _ref.mediaProvider,
17
17
  cardProvider = _ref.cardProvider,
18
- emojiProvider = _ref.emojiProvider;
18
+ emojiProvider = _ref.emojiProvider,
19
+ autoformattingProvider = _ref.autoformattingProvider;
19
20
  var editorApi = usePresetContext();
20
21
  useEffect(function () {
21
22
  function setProvider() {
@@ -71,4 +72,12 @@ export var useProviders = function useProviders(_ref) {
71
72
  }
72
73
  }
73
74
  }, [emojiProvider, editorApi]);
75
+ useEffect(function () {
76
+ if (fg('platform_editor_autoformatting_provider_from_plugin_config')) {
77
+ if (autoformattingProvider) {
78
+ var _editorApi$customAuto;
79
+ editorApi === null || editorApi === void 0 || (_editorApi$customAuto = editorApi.customAutoformat) === null || _editorApi$customAuto === void 0 || _editorApi$customAuto.actions.setProvider(autoformattingProvider);
80
+ }
81
+ }
82
+ }, [autoformattingProvider, editorApi]);
74
83
  };
@@ -38,7 +38,9 @@ export default function handleProviders(providerFactory, _ref, extensionProvider
38
38
  if (!fg('platform_editor_card_provider_from_plugin_config')) {
39
39
  providerFactory.setProvider('cardProvider', cardProvider);
40
40
  }
41
- providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
41
+ if (!fg('platform_editor_autoformatting_provider_from_plugin_config')) {
42
+ providerFactory.setProvider('autoformattingProvider', autoformattingProvider);
43
+ }
42
44
  if (extensionProvider) {
43
45
  providerFactory.setProvider('extensionProvider', Promise.resolve(extensionProvider));
44
46
  }
@@ -153,11 +153,11 @@ export default function createUniversalPresetInternal(_ref) {
153
153
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
154
154
  isCommentEditor: isComment,
155
155
  isChromelessEditor: isChromeless
156
- }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
156
+ }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tablesPlugin)], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, _objectSpread({
157
157
  allowNestedTasks: props.allowNestedTasks,
158
158
  consumeTabs: isFullPage,
159
159
  useLongPressSelection: false
160
- }], Boolean(props.allowTasksAndDecisions || props.taskDecisionProvider)).maybeAdd([feedbackDialogPlugin, _objectSpread({
160
+ }, initialPluginConfiguration === null || initialPluginConfiguration === void 0 ? void 0 : initialPluginConfiguration.tasksAndDecisionsPlugin)], Boolean(props.allowTasksAndDecisions || props.taskDecisionProvider)).maybeAdd([feedbackDialogPlugin, _objectSpread({
161
161
  coreVersion: coreVersion
162
162
  }, props.feedbackInfo)], Boolean(props.feedbackInfo)).maybeAdd([helpDialogPlugin, !!props.legacyImageUploadProvider], Boolean(props.allowHelpDialog)).maybeAdd([saveOnEnterPlugin, props.onSave], Boolean(props.saveOnEnter && props.onSave)).maybeAdd(imageUploadPlugin, Boolean(props.legacyImageUploadProvider)).maybeAdd(
163
163
  // duplicate plugin exists because first one if media is enabled
@@ -201,7 +201,9 @@ export default function createUniversalPresetInternal(_ref) {
201
201
  editorAppearance: appearance,
202
202
  // @ts-ignore Temporary solution to check for Live Page editor.
203
203
  __livePage: props.__livePage
204
- })], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd(customAutoformatPlugin, Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
204
+ })], Boolean(((_props$linking3 = props.linking) === null || _props$linking3 === void 0 ? void 0 : _props$linking3.smartLinks) || props.smartLinks || props.UNSAFE_cards)).maybeAdd([customAutoformatPlugin, {
205
+ autoformattingProvider: props.autoformattingProvider
206
+ }], Boolean(props.autoformattingProvider)).maybeAdd([statusPlugin, {
205
207
  menuDisabled: statusMenuDisabled,
206
208
  allowZeroWidthSpaceAfter: true
207
209
  }], Boolean(props.allowStatus)).maybeAdd(indentationPlugin, Boolean(props.allowIndentation)).maybeAdd(scrollIntoViewPlugin, Boolean(props.autoScrollIntoView !== false)).add([toolbarListsIndentationPlugin, {
@@ -1,5 +1,5 @@
1
1
  import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
2
+ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7;
3
3
  /* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
4
4
  /* eslint-disable react-hooks/rules-of-hooks */
5
5
  /* eslint-disable @atlaskit/design-system/no-css-tagged-template-expression -- Requires manual remediation over time due to use of unsafe nested mixins */
@@ -25,6 +25,7 @@ import { findReplaceStyles } from '@atlaskit/editor-plugins/find-replace/styles'
25
25
  import { textHighlightStyle } from '@atlaskit/editor-plugins/paste-options-toolbar/styles';
26
26
  import { placeholderTextStyles } from '@atlaskit/editor-plugins/placeholder-text/styles';
27
27
  import { akEditorCalculatedWideLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorDefaultLayoutWidth, akEditorDeleteBackgroundWithOpacity, akEditorDeleteBorder, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorSelectedBorderColor, akEditorSelectedBorderSize, akEditorSelectedNodeClassName, blockNodesVerticalMargin, editorFontSize, getSelectionStyles, SelectionStyle } from '@atlaskit/editor-shared-styles';
28
+ import { fg } from '@atlaskit/platform-feature-flags';
28
29
  import { N200, N30A, N500 } from '@atlaskit/theme/colors';
29
30
  import { useThemeObserver } from '@atlaskit/tokens';
30
31
  import { InlineNodeViewSharedStyles } from '../../nodeviews/getInlineNodeViewProducer.styles';
@@ -39,7 +40,6 @@ import { mediaStyles } from './media';
39
40
  import { panelStyles } from './panel';
40
41
  import { statusStyles } from './status';
41
42
  import { taskDecisionStyles } from './tasks-and-decisions';
42
-
43
43
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
44
44
  export var linkStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t.ProseMirror {\n\t\t", "\n\t}\n"])), linkSharedStyle);
45
45
  var ruleStyles = function ruleStyles() {
@@ -70,9 +70,9 @@ export var placeholderStyles = css({
70
70
  // The breakpoint for small devices is 1266px, copied from getBreakpoint in platform/packages/editor/editor-common/src/ui/WidthProvider/index.tsx
71
71
  var akEditorBreakpointForSmallDevice = "1266px";
72
72
  var contentStyles = function contentStyles(props) {
73
- return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\tpointer-events: none;\n\t\topacity: 0.7;\n\t}\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), akEditorGutterPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
73
+ return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n\t--ak-editor--default-gutter-padding: ", "px;\n\t/* 52 is from akEditorGutterPaddingDynamic via editor-shared-styles */\n\t--ak-editor--large-gutter-padding: 52px;\n\t--ak-editor--default-layout-width: ", "px;\n\t--ak-editor--full-width-layout-width: ", "px;\n\t/* calculate editor line length, 100cqw is the editor container width */\n\t--ak-editor--line-length: min(\n\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\tvar(--ak-editor--default-layout-width)\n\t);\n\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t--ak-editor--breakout-full-page-guttering-padding: calc(\n\t\tvar(--ak-editor--large-gutter-padding) * 2 + var(--ak-editor--default-gutter-padding)\n\t);\n\n\t.fabric-editor--full-width-mode {\n\t\t--ak-editor--line-length: min(\n\t\t\tcalc(100cqw - var(--ak-editor--large-gutter-padding) * 2),\n\t\t\tvar(--ak-editor--full-width-layout-width)\n\t\t);\n\t}\n\n\t/* container editor-area is defined in platform/packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts */\n\t@container editor-area (min-width: ", ") {\n\t\t.ProseMirror {\n\t\t\t--ak-editor--breakout-wide-layout-width: ", "px;\n\t\t}\n\t}\n\n\t.ProseMirror {\n\t\toutline: none;\n\t\tfont-size: ", "px;\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t\t", ";\n\t}\n\n\t", "\n\n\t.ProseMirror-hideselection *::selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-hideselection *::-moz-selection {\n\t\tbackground: transparent;\n\t}\n\n\t.ProseMirror-selectednode {\n\t\toutline: none;\n\t}\n\n\t.ProseMirror-selectednode:empty {\n\t\toutline: 2px solid ", ";\n\t}\n\n\t", "\n\t", "\n ", "\n\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", ";\n\t", "\n\t", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n ", "\n\n .panelView-content-wrap {\n\t\tbox-sizing: border-box;\n\t}\n\n\t.mediaGroupView-content-wrap ul {\n\t\tpadding: 0;\n\t}\n\n\t/** Needed to override any cleared floats, e.g. image wrapping */\n\n\tdiv.fabric-editor-block-mark[class^='fabric-editor-align'] {\n\t\tclear: none !important;\n\t}\n\n\t.fabric-editor-align-end {\n\t\ttext-align: right;\n\t}\n\n\t.fabric-editor-align-start {\n\t\ttext-align: left;\n\t}\n\n\t.fabric-editor-align-center {\n\t\ttext-align: center;\n\t}\n\n\t// For FullPage only when inside a table\n\t// Related code all lives inside: packages/editor/editor-core/src/ui/Appearance/FullPage/StyledComponents.ts\n\t// In the \"editorContentAreaContainerStyle\" function\n\t.fabric-editor--full-width-mode {\n\t\t.pm-table-container {\n\t\t\t.code-block,\n\t\t\t.extension-container,\n\t\t\t.multiBodiedExtension--container {\n\t\t\t\tmax-width: 100%;\n\t\t\t}\n\t\t}\n\t}\n\n\t.pm-table-header-content-wrap :not(.fabric-editor-alignment),\n\t.pm-table-header-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark,\n\t.pm-table-cell-content-wrap :not(p, .fabric-editor-block-mark) + div.fabric-editor-block-mark {\n\t\tp:first-of-type {\n\t\t\tmargin-top: 0;\n\t\t}\n\t}\n\t.pm-table-cell-content-wrap .mediaGroupView-content-wrap {\n\t\tclear: both;\n\t}\n\n\t.hyperlink-floating-toolbar,\n\t.", " {\n\t\tpadding: 0;\n\t}\n\n\t/* Link icon in the Atlaskit package\n is bigger than the others\n */\n\t.hyperlink-open-link {\n\t\tsvg {\n\t\t\tmax-width: 18px;\n\t\t}\n\t\t&[href] {\n\t\t\tpadding: 0 4px;\n\t\t}\n\t}\n"])), akEditorGutterPadding, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorCalculatedWideLayoutWidthSmallViewport, akEditorBreakpointForSmallDevice, akEditorCalculatedWideLayoutWidth, editorFontSize({
74
74
  theme: props.theme
75
- }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles, layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, panelStyles(), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(), smartCardStyles(), smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, aiPanelStyles(props.colorMode), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
75
+ }), whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, shadowSharedStyle, InlineNodeViewSharedStyles, fg('editor_request_to_edit_task') ? null : css(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n\t\t\t\t.ProseMirror[contenteditable='false'] .taskItemView-content-wrap {\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\topacity: 0.7;\n\t\t\t\t}\n\t\t\t"]))), "var(--ds-border-focused, #8cf)", placeholderTextStyles, placeholderStyles, codeBlockStyles(), blocktypeStyles(), codeMarkSharedStyles(), textColorStyles, backgroundColorStyles(), listsStyles, ruleStyles(), mediaStyles, layoutStyles(props.viewMode), telepointerStyle, gapCursorStyles, panelStyles(), mentionsStyles, emojiStyles, tasksAndDecisionsStyles, gridStyles, linkStyles, blockMarksSharedStyles, dateSharedStyle, extensionStyles, expandStyles(), findReplaceStyles, textHighlightStyle, taskDecisionStyles, statusStyles, annotationSharedStyles(), smartCardStyles(), smartCardSharedStyles, dateStyles, embedCardStyles, unsupportedStyles, resizerStyles, aiPanelStyles(props.colorMode), MediaSharedClassNames.FLOATING_TOOLBAR_COMPONENT);
76
76
  };
77
77
  export var createEditorContentStyle = function createEditorContentStyle(styles) {
78
78
  return /*#__PURE__*/React.forwardRef(function (props, ref) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "197.5.3";
2
+ export var version = "197.7.0";
@@ -1,10 +1,11 @@
1
- import type { CardProvider, ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
1
+ import type { AutoformattingProvider, CardProvider, ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
2
2
  import { type EmojiProvider } from '@atlaskit/emoji';
3
3
  interface UseProvidersProps {
4
4
  contextIdentifierProvider: Promise<ContextIdentifierProvider> | undefined;
5
5
  mediaProvider: Promise<MediaProvider> | undefined;
6
6
  cardProvider: Promise<CardProvider> | undefined;
7
7
  emojiProvider: Promise<EmojiProvider> | undefined;
8
+ autoformattingProvider: Promise<AutoformattingProvider> | undefined;
8
9
  }
9
10
  /**
10
11
  * This hook is used to replace the old approach of using the `providerFactory`.
@@ -14,5 +15,5 @@ interface UseProvidersProps {
14
15
  *
15
16
  * In the future ideally consumers implement this behaviour themselves.
16
17
  */
17
- export declare const useProviders: ({ contextIdentifierProvider, mediaProvider, cardProvider, emojiProvider, }: UseProvidersProps) => void;
18
+ export declare const useProviders: ({ contextIdentifierProvider, mediaProvider, cardProvider, emojiProvider, autoformattingProvider, }: UseProvidersProps) => void;
18
19
  export {};
@@ -1381,7 +1381,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1381
1381
  insertStatus: (inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.INSERT_MENU | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1382
1382
  };
1383
1383
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1384
- }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1384
+ }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1385
+ sharedState: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1386
+ pluginConfiguration: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions;
1387
+ actions: {
1388
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1389
+ };
1390
+ }, import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1385
1391
  pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1386
1392
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1387
1393
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -29,6 +29,10 @@ export type InitialPluginConfiguration = {
29
29
  emoji?: {
30
30
  emojiNodeDataProvider?: EmojiPluginOptions['emojiNodeDataProvider'];
31
31
  };
32
+ tasksAndDecisionsPlugin?: {
33
+ hasEditPermission?: boolean;
34
+ requestEditPermission?: () => void;
35
+ };
32
36
  };
33
37
  /**
34
38
  * Creates a preset with all of the available plugins.
@@ -1428,7 +1432,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1428
1432
  insertStatus: (inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.INSERT_MENU | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1429
1433
  };
1430
1434
  sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
1431
- }, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1435
+ }, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1436
+ sharedState: import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1437
+ pluginConfiguration: import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions;
1438
+ actions: {
1439
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1440
+ };
1441
+ }, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1432
1442
  pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
1433
1443
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1434
1444
  pluginConfiguration: FeatureFlags;
@@ -1381,7 +1381,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1381
1381
  insertStatus: (inputMethod?: import("@atlaskit/editor-common/analytics").INPUT_METHOD.INSERT_MENU | import("@atlaskit/editor-common/analytics").INPUT_METHOD.QUICK_INSERT | import("@atlaskit/editor-common/analytics").INPUT_METHOD.TOOLBAR | undefined) => import("@atlaskit/editor-common/types").EditorCommand;
1382
1382
  };
1383
1383
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1384
- }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1384
+ }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1385
+ sharedState: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1386
+ pluginConfiguration: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions;
1387
+ actions: {
1388
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1389
+ };
1390
+ }, import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1385
1391
  pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1386
1392
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"featureFlags", {
1387
1393
  pluginConfiguration: import("@atlaskit/editor-common/types").FeatureFlags;
@@ -1,10 +1,11 @@
1
- import type { CardProvider, ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
1
+ import type { AutoformattingProvider, CardProvider, ContextIdentifierProvider, MediaProvider } from '@atlaskit/editor-common/provider-factory';
2
2
  import { type EmojiProvider } from '@atlaskit/emoji';
3
3
  interface UseProvidersProps {
4
4
  contextIdentifierProvider: Promise<ContextIdentifierProvider> | undefined;
5
5
  mediaProvider: Promise<MediaProvider> | undefined;
6
6
  cardProvider: Promise<CardProvider> | undefined;
7
7
  emojiProvider: Promise<EmojiProvider> | undefined;
8
+ autoformattingProvider: Promise<AutoformattingProvider> | undefined;
8
9
  }
9
10
  /**
10
11
  * This hook is used to replace the old approach of using the `providerFactory`.
@@ -14,5 +15,5 @@ interface UseProvidersProps {
14
15
  *
15
16
  * In the future ideally consumers implement this behaviour themselves.
16
17
  */
17
- export declare const useProviders: ({ contextIdentifierProvider, mediaProvider, cardProvider, emojiProvider, }: UseProvidersProps) => void;
18
+ export declare const useProviders: ({ contextIdentifierProvider, mediaProvider, cardProvider, emojiProvider, autoformattingProvider, }: UseProvidersProps) => void;
18
19
  export {};
@@ -1742,7 +1742,13 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
1742
1742
  };
1743
1743
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1744
1744
  }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined,
1745
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined,
1745
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1746
+ sharedState: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1747
+ pluginConfiguration: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions;
1748
+ actions: {
1749
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1750
+ };
1751
+ }, import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions> | undefined,
1746
1752
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1747
1753
  pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1748
1754
  dependencies: [
@@ -29,6 +29,10 @@ export type InitialPluginConfiguration = {
29
29
  emoji?: {
30
30
  emojiNodeDataProvider?: EmojiPluginOptions['emojiNodeDataProvider'];
31
31
  };
32
+ tasksAndDecisionsPlugin?: {
33
+ hasEditPermission?: boolean;
34
+ requestEditPermission?: () => void;
35
+ };
32
36
  };
33
37
  /**
34
38
  * Creates a preset with all of the available plugins.
@@ -1789,7 +1793,13 @@ export default function createUniversalPresetInternal({ appearance, props, featu
1789
1793
  };
1790
1794
  sharedState: import("@atlaskit/editor-plugins/status").StatusState | undefined;
1791
1795
  }, import("@atlaskit/editor-plugins/status").StatusPluginOptions | undefined> | undefined,
1792
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined,
1796
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1797
+ sharedState: import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1798
+ pluginConfiguration: import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions;
1799
+ actions: {
1800
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1801
+ };
1802
+ }, import("@atlaskit/editor-plugins/custom-autoformat").CustomAutoformatPluginOptions> | undefined,
1793
1803
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1794
1804
  pluginConfiguration: import("@atlaskit/editor-plugins/card").CardPluginOptions | undefined;
1795
1805
  dependencies: [
@@ -1742,7 +1742,13 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
1742
1742
  };
1743
1743
  sharedState: import("@atlaskit/editor-plugin-status").StatusState | undefined;
1744
1744
  }, import("@atlaskit/editor-plugin-status").StatusPluginOptions | undefined> | undefined,
1745
- import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {}, undefined> | undefined,
1745
+ import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"customAutoformat", {
1746
+ sharedState: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginSharedState | undefined;
1747
+ pluginConfiguration: import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions;
1748
+ actions: {
1749
+ setProvider: (provider: Promise<import("@atlaskit/editor-common/provider-factory").AutoformattingProvider>) => Promise<boolean>;
1750
+ };
1751
+ }, import("@atlaskit/editor-plugin-custom-autoformat").CustomAutoformatPluginOptions> | undefined,
1746
1752
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"card", {
1747
1753
  pluginConfiguration: import("@atlaskit/editor-plugin-card").CardPluginOptions | undefined;
1748
1754
  dependencies: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "197.5.3",
3
+ "version": "197.7.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,14 +43,14 @@
43
43
  "@atlaskit/analytics-next": "^10.1.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
45
  "@atlaskit/button": "^20.1.0",
46
- "@atlaskit/editor-common": "^89.0.0",
46
+ "@atlaskit/editor-common": "^89.1.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.18.0",
48
- "@atlaskit/editor-plugins": "^4.4.0",
48
+ "@atlaskit/editor-plugins": "^4.5.0",
49
49
  "@atlaskit/editor-prosemirror": "6.0.0",
50
50
  "@atlaskit/editor-shared-styles": "^2.13.0",
51
51
  "@atlaskit/emoji": "^67.7.0",
52
- "@atlaskit/icon": "^22.17.0",
53
- "@atlaskit/media-card": "^78.2.0",
52
+ "@atlaskit/icon": "^22.18.0",
53
+ "@atlaskit/media-card": "^78.3.0",
54
54
  "@atlaskit/mention": "^23.2.0",
55
55
  "@atlaskit/platform-feature-flags": "^0.3.0",
56
56
  "@atlaskit/task-decision": "^17.10.0",
@@ -105,7 +105,7 @@
105
105
  "@atlaskit/util-data-test": "^17.9.0",
106
106
  "@atlaskit/visual-regression": "*",
107
107
  "@atlassian/adf-schema-json": "^1.22.0",
108
- "@atlassian/search-provider": "2.4.125",
108
+ "@atlassian/search-provider": "2.4.127",
109
109
  "@emotion/jest": "^11.8.0",
110
110
  "@storybook/addon-knobs": "^5.3.18",
111
111
  "@testing-library/react": "^12.1.5",
@@ -261,6 +261,12 @@
261
261
  },
262
262
  "platform_editor_breakout_use_css": {
263
263
  "type": "boolean"
264
+ },
265
+ "platform_editor_autoformatting_provider_from_plugin_config": {
266
+ "type": "boolean"
267
+ },
268
+ "editor_request_to_edit_task": {
269
+ "type": "boolean"
264
270
  }
265
271
  },
266
272
  "stricter": {