@atlaskit/editor-core 214.2.3 → 215.0.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 (87) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/cjs/index.js +0 -7
  3. package/dist/cjs/ui/Addon/click-area-helper.js +1 -2
  4. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer.js +38 -2
  5. package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +10 -2
  6. package/dist/cjs/version-wrapper.js +1 -1
  7. package/dist/es2019/index.js +0 -8
  8. package/dist/es2019/ui/Addon/click-area-helper.js +1 -2
  9. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer.js +40 -3
  10. package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +9 -1
  11. package/dist/es2019/version-wrapper.js +1 -1
  12. package/dist/esm/index.js +0 -8
  13. package/dist/esm/ui/Addon/click-area-helper.js +1 -2
  14. package/dist/esm/ui/EditorContentContainer/EditorContentContainer.js +39 -3
  15. package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +9 -1
  16. package/dist/esm/version-wrapper.js +1 -1
  17. package/dist/types/index.d.ts +0 -7
  18. package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
  19. package/dist/types-ts4.5/index.d.ts +0 -7
  20. package/dist/types-ts4.5/ui/EditorContentContainer/styles/tableStyles.d.ts +1 -0
  21. package/package.json +11 -8
  22. package/create-editor-content-style/package.json +0 -17
  23. package/dist/cjs/nodeviews/getInlineNodeViewProducer.styles.js +0 -43
  24. package/dist/cjs/ui/ContentStyles/ai-panels.js +0 -91
  25. package/dist/cjs/ui/ContentStyles/code-bidi-warning.js +0 -75
  26. package/dist/cjs/ui/ContentStyles/code-block.js +0 -28
  27. package/dist/cjs/ui/ContentStyles/date.js +0 -43
  28. package/dist/cjs/ui/ContentStyles/expand.js +0 -37
  29. package/dist/cjs/ui/ContentStyles/extension.js +0 -21
  30. package/dist/cjs/ui/ContentStyles/index.js +0 -220
  31. package/dist/cjs/ui/ContentStyles/layout.js +0 -80
  32. package/dist/cjs/ui/ContentStyles/media.js +0 -27
  33. package/dist/cjs/ui/ContentStyles/panel.js +0 -17
  34. package/dist/cjs/ui/ContentStyles/status.js +0 -158
  35. package/dist/cjs/ui/ContentStyles/tasks-and-decisions.js +0 -556
  36. package/dist/es2019/nodeviews/getInlineNodeViewProducer.styles.js +0 -47
  37. package/dist/es2019/ui/ContentStyles/ai-panels.js +0 -168
  38. package/dist/es2019/ui/ContentStyles/code-bidi-warning.js +0 -68
  39. package/dist/es2019/ui/ContentStyles/code-block.js +0 -90
  40. package/dist/es2019/ui/ContentStyles/date.js +0 -57
  41. package/dist/es2019/ui/ContentStyles/expand.js +0 -142
  42. package/dist/es2019/ui/ContentStyles/extension.js +0 -236
  43. package/dist/es2019/ui/ContentStyles/index.js +0 -580
  44. package/dist/es2019/ui/ContentStyles/layout.js +0 -388
  45. package/dist/es2019/ui/ContentStyles/media.js +0 -207
  46. package/dist/es2019/ui/ContentStyles/panel.js +0 -66
  47. package/dist/es2019/ui/ContentStyles/status.js +0 -197
  48. package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +0 -551
  49. package/dist/esm/nodeviews/getInlineNodeViewProducer.styles.js +0 -36
  50. package/dist/esm/ui/ContentStyles/ai-panels.js +0 -87
  51. package/dist/esm/ui/ContentStyles/code-bidi-warning.js +0 -68
  52. package/dist/esm/ui/ContentStyles/code-block.js +0 -21
  53. package/dist/esm/ui/ContentStyles/date.js +0 -37
  54. package/dist/esm/ui/ContentStyles/expand.js +0 -31
  55. package/dist/esm/ui/ContentStyles/extension.js +0 -15
  56. package/dist/esm/ui/ContentStyles/index.js +0 -214
  57. package/dist/esm/ui/ContentStyles/layout.js +0 -74
  58. package/dist/esm/ui/ContentStyles/media.js +0 -21
  59. package/dist/esm/ui/ContentStyles/panel.js +0 -11
  60. package/dist/esm/ui/ContentStyles/status.js +0 -152
  61. package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +0 -548
  62. package/dist/types/nodeviews/getInlineNodeViewProducer.styles.d.ts +0 -2
  63. package/dist/types/ui/ContentStyles/ai-panels.d.ts +0 -8
  64. package/dist/types/ui/ContentStyles/code-bidi-warning.d.ts +0 -2
  65. package/dist/types/ui/ContentStyles/code-block.d.ts +0 -2
  66. package/dist/types/ui/ContentStyles/date.d.ts +0 -3
  67. package/dist/types/ui/ContentStyles/expand.d.ts +0 -2
  68. package/dist/types/ui/ContentStyles/extension.d.ts +0 -2
  69. package/dist/types/ui/ContentStyles/index.d.ts +0 -23
  70. package/dist/types/ui/ContentStyles/layout.d.ts +0 -8
  71. package/dist/types/ui/ContentStyles/media.d.ts +0 -2
  72. package/dist/types/ui/ContentStyles/panel.d.ts +0 -2
  73. package/dist/types/ui/ContentStyles/status.d.ts +0 -3
  74. package/dist/types/ui/ContentStyles/tasks-and-decisions.d.ts +0 -6
  75. package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +0 -2
  76. package/dist/types-ts4.5/ui/ContentStyles/ai-panels.d.ts +0 -8
  77. package/dist/types-ts4.5/ui/ContentStyles/code-bidi-warning.d.ts +0 -2
  78. package/dist/types-ts4.5/ui/ContentStyles/code-block.d.ts +0 -2
  79. package/dist/types-ts4.5/ui/ContentStyles/date.d.ts +0 -3
  80. package/dist/types-ts4.5/ui/ContentStyles/expand.d.ts +0 -2
  81. package/dist/types-ts4.5/ui/ContentStyles/extension.d.ts +0 -2
  82. package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +0 -23
  83. package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +0 -8
  84. package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +0 -2
  85. package/dist/types-ts4.5/ui/ContentStyles/panel.d.ts +0 -2
  86. package/dist/types-ts4.5/ui/ContentStyles/status.d.ts +0 -3
  87. package/dist/types-ts4.5/ui/ContentStyles/tasks-and-decisions.d.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 215.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [`be54c7e850cd3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/be54c7e850cd3) -
8
+ remove deprecated legacy content styles for editor
9
+
10
+ ### Patch Changes
11
+
12
+ - [`925eb6478e9a5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/925eb6478e9a5) -
13
+ Remove overflowY on tables to prevent Y axis scroll bar showing on Windows.
14
+ - [`30bb04cd8a8e9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/30bb04cd8a8e9) -
15
+ [ux] [ED-29292] Fix 2 issues with wrapped images in editor and renderer
16
+
17
+ 1. There is a gap between the first and the second wrapped images
18
+ 2. For wrapped images in layout, if image is the first node, it not horizontally aligned with the
19
+ following wrapped images
20
+
21
+ - Updated dependencies
22
+
23
+ ## 214.2.4
24
+
25
+ ### Patch Changes
26
+
27
+ - [`8807cdcfe7132`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8807cdcfe7132) -
28
+ Cleanup platform_editor_keep_focus_on_content_comp_clicks
29
+ - Updated dependencies
30
+
3
31
  ## 214.2.3
4
32
 
5
33
  ### Patch Changes
package/dist/cjs/index.js CHANGED
@@ -64,12 +64,6 @@ Object.defineProperty(exports, "WithHelpTrigger", {
64
64
  return _WithHelpTrigger.default;
65
65
  }
66
66
  });
67
- Object.defineProperty(exports, "createEditorContentStyle", {
68
- enumerable: true,
69
- get: function get() {
70
- return _ContentStyles.createEditorContentStyle;
71
- }
72
- });
73
67
  Object.defineProperty(exports, "createFeatureFlagsFromProps", {
74
68
  enumerable: true,
75
69
  get: function get() {
@@ -125,6 +119,5 @@ var _getNodesCount = require("./utils/getNodesCount");
125
119
  var _measureEnum = _interopRequireDefault(require("./utils/performance/measure-enum"));
126
120
  var _featureFlagsFromProps = require("./utils/feature-flags-from-props");
127
121
  var _actions = _interopRequireDefault(require("./actions"));
128
- var _ContentStyles = require("./ui/ContentStyles");
129
122
  var _createPluginsList = require("./create-editor/create-plugins-list");
130
123
  var _ReactEditorView = require("./create-editor/ReactEditorView");
@@ -8,7 +8,6 @@ var _collab = require("@atlaskit/editor-common/collab");
8
8
  var _commands = require("@atlaskit/editor-common/commands");
9
9
  var _selection = require("@atlaskit/editor-common/selection");
10
10
  var _utils = require("@atlaskit/editor-common/utils");
11
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
12
11
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
13
12
  var _contentComponentWrapper = require("./ClickAreaBlock/contentComponentWrapper");
14
13
  // we ignore all of the clicks made inside <div class="ak-editor-content-area" /> (but not clicks on the node itself)
@@ -83,7 +82,7 @@ var clickAreaClickHandler = exports.clickAreaClickHandler = function clickAreaCl
83
82
  (0, _utils.closestElement)(selection === null || selection === void 0 ? void 0 : selection.anchorNode, '[data-editor-popup]');
84
83
 
85
84
  // For clicks directly on the content component -- they should not be ignored
86
- var isContentComponent = (0, _platformFeatureFlags.fg)('platform_editor_keep_focus_on_content_comp_clicks') ? target === null || target === void 0 || (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest("[".concat(_contentComponentWrapper.ignoreAttribute, "]")) : !!(0, _utils.closestElement)(target, "[".concat(_contentComponentWrapper.ignoreAttribute, "]")) || (target === null || target === void 0 ? void 0 : target.getAttribute(_contentComponentWrapper.ignoreAttribute)) === 'true';
85
+ var isContentComponent = target === null || target === void 0 || (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest("[".concat(_contentComponentWrapper.ignoreAttribute, "]"));
87
86
 
88
87
  // This is a super workaround to find when events are coming from Confluence InlineComment modal
89
88
  // We don't own those components, so we can't change them
@@ -5,9 +5,11 @@ Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
7
  exports.default = void 0;
8
+ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
8
9
  var _react = _interopRequireDefault(require("react"));
9
10
  var _react2 = require("@emotion/react");
10
11
  var _browser = require("@atlaskit/editor-common/browser");
12
+ var _styles = require("@atlaskit/editor-common/styles");
11
13
  var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
12
14
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
15
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
@@ -74,6 +76,34 @@ var _whitespaceStyles = require("./styles/whitespaceStyles");
74
76
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
75
77
 
76
78
  var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
79
+ var alignMultipleWrappedImageInLayoutStyles = {
80
+ '.ProseMirror [data-layout-section] [data-layout-column] > div': {
81
+ // apply marginTop to wrapped mediaSingle that has preceding wrapped mediaSingle (even when there's gap cursor in between them)
82
+ // Given the first wrapped mediaSingle in layout has 0 marginTop, this is needed to make sure fellow wrapped mediaSingle align with it horizontally
83
+ '.mediaSingleView-content-wrap[layout^=wrap] + .mediaSingleView-content-wrap[layout^=wrap], .mediaSingleView-content-wrap[layout^=wrap] + .ProseMirror-gapcursor + .mediaSingleView-content-wrap[layout^=wrap]': {
84
+ '.rich-media-item': {
85
+ marginTop: 0
86
+ }
87
+ },
88
+ // Due to the above rule, wrapped mediaSingle (not the first node in layout) that are followed by wrapped mediaSingle should also have 0 marginTop
89
+ // so it's aligned with the following wrapped mediaSingle
90
+ '.mediaSingleView-content-wrap[layout^=wrap]:has( + .mediaSingleView-content-wrap[layout^=wrap])': {
91
+ '.rich-media-item': {
92
+ marginTop: 0
93
+ }
94
+ }
95
+ }
96
+ };
97
+ var firstWrappedMediaStyles = {
98
+ '.ProseMirror': {
99
+ // Remove gap between first wrapped mediaSingle and its fellow wrapped mediaSingle
100
+ "& [layout^='wrap-']:has(+ [layout^='wrap-']), & [layout^='wrap-']:has(+ .ProseMirror-gapcursor + [layout^='wrap-'])": (0, _defineProperty2.default)({}, "& .".concat(_styles.richMediaClassName), {
101
+ marginLeft: 0,
102
+ marginRight: 0
103
+ })
104
+ }
105
+ };
106
+
77
107
  /**
78
108
  * EditorContentStyles is a wrapper component that applies styles to its children
79
109
  * based on the provided feature flags, view mode, and other props.
@@ -183,6 +213,8 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
183
213
  _rule.ruleStyles,
184
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
185
215
  _mediaStyles.mediaStyles,
216
+ // merge firstWrappedMediaStyles with mediaStyles when clean up platform_editor_fix_media_in_renderer
217
+ (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles,
186
218
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
187
219
  _telepointerStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
188
220
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -264,7 +296,9 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
264
296
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
265
297
  _resizerStyles.resizerStyles,
266
298
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
267
- _layout.layoutBaseStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_synced_block', 'isEnabled', true) &&
299
+ _layout.layoutBaseStyles,
300
+ // merge alignMultipleWrappedImageInLayoutStyles with layoutBaseStyles when clean up platform_editor_fix_media_in_renderer
301
+ (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && alignMultipleWrappedImageInLayoutStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_synced_block', 'isEnabled', true) &&
268
302
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
269
303
  _syncBlockStyles.syncBlockStyles,
270
304
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -366,10 +400,12 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
366
400
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
367
401
  _mediaStyles.mediaAlignmentStyles,
368
402
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
369
- _tableStyles.tableLayoutFixes, (0, _expValEquals.expValEquals)('platform_editor_table_container_width_fix', 'isEnabled', true) &&
403
+ _tableStyles.tableLayoutFixes,
370
404
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
371
405
  _tableStyles.tableContainerStyles,
372
406
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
407
+ !(0, _platformFeatureFlags.fg)('platform_editor_table_container_y_overflow_fix') && _tableStyles.tableContainerOverflowY,
408
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
373
409
  _link.hyperLinkFloatingToolbarStyles,
374
410
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
375
411
  !(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && _link.linkLegacyIconStylesFix,
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
7
- exports.tableLayoutFixes = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
7
+ exports.tableLayoutFixes = exports.tableContainerStyles = exports.tableContainerOverflowY = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("@emotion/react");
10
10
  var _scrollbarStyles = require("./scrollbarStyles");
@@ -41,7 +41,6 @@ var tableContainerStyles = exports.tableContainerStyles = (0, _react.css)({
41
41
  '.ProseMirror .pm-table-wrapper': {
42
42
  maxWidth: '100%',
43
43
  overflowX: 'auto',
44
- overflowY: 'visible',
45
44
  // Ensure the wrapper doesn't grow beyond its container
46
45
  width: '100%',
47
46
  boxSizing: 'border-box'
@@ -55,4 +54,13 @@ var tableContainerStyles = exports.tableContainerStyles = (0, _react.css)({
55
54
  // Ensure tables can be scrolled horizontally if needed
56
55
  minWidth: 'auto'
57
56
  }
57
+ });
58
+
59
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
60
+ var tableContainerOverflowY = exports.tableContainerOverflowY = (0, _react.css)({
61
+ /* Fix for HOT-119925: Ensure table containers have proper width constraints and overflow handling */
62
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
63
+ '.ProseMirror .pm-table-wrapper': {
64
+ overflowY: 'visible'
65
+ }
58
66
  });
@@ -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 = "214.2.2";
8
+ var version = exports.version = "214.2.4";
@@ -36,13 +36,5 @@ export { getNodesCount } from './utils/getNodesCount';
36
36
  export { default as measurements } from './utils/performance/measure-enum';
37
37
  export { createFeatureFlagsFromProps } from './utils/feature-flags-from-props';
38
38
  export { default as EditorActions } from './actions';
39
- export {
40
- // eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
41
- /**
42
- * @deprecated
43
- * DO NOT USE THIS WILL BE REMOVED SOON.
44
- * use this instead: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
45
- */
46
- createEditorContentStyle } from './ui/ContentStyles';
47
39
  export { getDefaultPresetOptionsFromEditorProps } from './create-editor/create-plugins-list';
48
40
  export { ReactEditorView } from './create-editor/ReactEditorView';
@@ -2,7 +2,6 @@ import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
2
2
  import { addParagraphAtEnd } from '@atlaskit/editor-common/commands';
3
3
  import { setSelectionTopLevelBlocks } from '@atlaskit/editor-common/selection';
4
4
  import { closestElement } from '@atlaskit/editor-common/utils';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
6
  import { ignoreAttribute } from './ClickAreaBlock/contentComponentWrapper';
8
7
 
@@ -78,7 +77,7 @@ const clickAreaClickHandler = (view, event) => {
78
77
  closestElement(selection === null || selection === void 0 ? void 0 : selection.anchorNode, '[data-editor-popup]');
79
78
 
80
79
  // For clicks directly on the content component -- they should not be ignored
81
- const isContentComponent = fg('platform_editor_keep_focus_on_content_comp_clicks') ? target === null || target === void 0 ? void 0 : (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest(`[${ignoreAttribute}]`) : !!closestElement(target, `[${ignoreAttribute}]`) || (target === null || target === void 0 ? void 0 : target.getAttribute(ignoreAttribute)) === 'true';
80
+ const isContentComponent = target === null || target === void 0 ? void 0 : (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest(`[${ignoreAttribute}]`);
82
81
 
83
82
  // This is a super workaround to find when events are coming from Confluence InlineComment modal
84
83
  // We don't own those components, so we can't change them
@@ -9,6 +9,7 @@ import React from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { jsx, useTheme } from '@emotion/react';
11
11
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
12
+ import { richMediaClassName } from '@atlaskit/editor-common/styles';
12
13
  import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
13
14
  import { fg } from '@atlaskit/platform-feature-flags';
14
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -58,7 +59,7 @@ import { shadowStyles } from './styles/shadowStyles';
58
59
  import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
59
60
  import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match } from './styles/statusStyles';
60
61
  import { syncBlockStyles } from './styles/syncBlockStyles';
61
- import { tableCommentEditorStyles, tableContainerStyles, tableLayoutFixes } from './styles/tableStyles';
62
+ import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableLayoutFixes } from './styles/tableStyles';
62
63
  import { decisionStyles, tasksAndDecisionsStyles, decisionIconWithVisualRefresh, decisionIconWithoutVisualRefresh, taskItemStyles, taskItemStylesWithBlockTaskItem, decisionDangerStyles } from './styles/tasksAndDecisionsStyles';
63
64
  import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
64
65
  import { textColorStyles } from './styles/textColorStyles';
@@ -66,6 +67,36 @@ import { textHighlightStyle } from './styles/textHighlightStyles';
66
67
  import { unsupportedStyles } from './styles/unsupportedStyles';
67
68
  import { whitespaceStyles } from './styles/whitespaceStyles';
68
69
  const isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
70
+ const alignMultipleWrappedImageInLayoutStyles = {
71
+ '.ProseMirror [data-layout-section] [data-layout-column] > div': {
72
+ // apply marginTop to wrapped mediaSingle that has preceding wrapped mediaSingle (even when there's gap cursor in between them)
73
+ // Given the first wrapped mediaSingle in layout has 0 marginTop, this is needed to make sure fellow wrapped mediaSingle align with it horizontally
74
+ '.mediaSingleView-content-wrap[layout^=wrap] + .mediaSingleView-content-wrap[layout^=wrap], .mediaSingleView-content-wrap[layout^=wrap] + .ProseMirror-gapcursor + .mediaSingleView-content-wrap[layout^=wrap]': {
75
+ '.rich-media-item': {
76
+ marginTop: 0
77
+ }
78
+ },
79
+ // Due to the above rule, wrapped mediaSingle (not the first node in layout) that are followed by wrapped mediaSingle should also have 0 marginTop
80
+ // so it's aligned with the following wrapped mediaSingle
81
+ '.mediaSingleView-content-wrap[layout^=wrap]:has( + .mediaSingleView-content-wrap[layout^=wrap])': {
82
+ '.rich-media-item': {
83
+ marginTop: 0
84
+ }
85
+ }
86
+ }
87
+ };
88
+ const firstWrappedMediaStyles = {
89
+ '.ProseMirror': {
90
+ // Remove gap between first wrapped mediaSingle and its fellow wrapped mediaSingle
91
+ "& [layout^='wrap-']:has(+ [layout^='wrap-']), & [layout^='wrap-']:has(+ .ProseMirror-gapcursor + [layout^='wrap-'])": {
92
+ [`& .${richMediaClassName}`]: {
93
+ marginLeft: 0,
94
+ marginRight: 0
95
+ }
96
+ }
97
+ }
98
+ };
99
+
69
100
  /**
70
101
  * EditorContentStyles is a wrapper component that applies styles to its children
71
102
  * based on the provided feature flags, view mode, and other props.
@@ -178,6 +209,8 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
178
209
  ruleStyles,
179
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
180
211
  mediaStyles,
212
+ // merge firstWrappedMediaStyles with mediaStyles when clean up platform_editor_fix_media_in_renderer
213
+ fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles,
181
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
182
215
  telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
183
216
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -259,7 +292,9 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
259
292
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
260
293
  resizerStyles,
261
294
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
262
- layoutBaseStyles, expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) &&
295
+ layoutBaseStyles,
296
+ // merge alignMultipleWrappedImageInLayoutStyles with layoutBaseStyles when clean up platform_editor_fix_media_in_renderer
297
+ fg('platform_editor_fix_media_in_renderer') && alignMultipleWrappedImageInLayoutStyles, expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) &&
263
298
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
264
299
  syncBlockStyles,
265
300
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -361,10 +396,12 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
361
396
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
362
397
  mediaAlignmentStyles,
363
398
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
364
- tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true) &&
399
+ tableLayoutFixes,
365
400
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
366
401
  tableContainerStyles,
367
402
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
403
+ !fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
404
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
368
405
  hyperLinkFloatingToolbarStyles,
369
406
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
370
407
  !fg('platform-visual-refresh-icons') && linkLegacyIconStylesFix,
@@ -37,7 +37,6 @@ export const tableContainerStyles = css({
37
37
  '.ProseMirror .pm-table-wrapper': {
38
38
  maxWidth: '100%',
39
39
  overflowX: 'auto',
40
- overflowY: 'visible',
41
40
  // Ensure the wrapper doesn't grow beyond its container
42
41
  width: '100%',
43
42
  boxSizing: 'border-box'
@@ -51,4 +50,13 @@ export const tableContainerStyles = css({
51
50
  // Ensure tables can be scrolled horizontally if needed
52
51
  minWidth: 'auto'
53
52
  }
53
+ });
54
+
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
56
+ export const tableContainerOverflowY = css({
57
+ /* Fix for HOT-119925: Ensure table containers have proper width constraints and overflow handling */
58
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
59
+ '.ProseMirror .pm-table-wrapper': {
60
+ overflowY: 'visible'
61
+ }
54
62
  });
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "214.2.2";
2
+ export const version = "214.2.4";
package/dist/esm/index.js CHANGED
@@ -36,13 +36,5 @@ export { getNodesCount } from './utils/getNodesCount';
36
36
  export { default as measurements } from './utils/performance/measure-enum';
37
37
  export { createFeatureFlagsFromProps } from './utils/feature-flags-from-props';
38
38
  export { default as EditorActions } from './actions';
39
- export {
40
- // eslint-disable-next-line @repo/internal/deprecations/deprecation-ticket-required
41
- /**
42
- * @deprecated
43
- * DO NOT USE THIS WILL BE REMOVED SOON.
44
- * use this instead: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
45
- */
46
- createEditorContentStyle } from './ui/ContentStyles';
47
39
  export { getDefaultPresetOptionsFromEditorProps } from './create-editor/create-plugins-list';
48
40
  export { ReactEditorView } from './create-editor/ReactEditorView';
@@ -2,7 +2,6 @@ import { tintDirtyTransaction } from '@atlaskit/editor-common/collab';
2
2
  import { addParagraphAtEnd } from '@atlaskit/editor-common/commands';
3
3
  import { setSelectionTopLevelBlocks } from '@atlaskit/editor-common/selection';
4
4
  import { closestElement } from '@atlaskit/editor-common/utils';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
7
6
  import { ignoreAttribute } from './ClickAreaBlock/contentComponentWrapper';
8
7
 
@@ -78,7 +77,7 @@ var clickAreaClickHandler = function clickAreaClickHandler(view, event) {
78
77
  closestElement(selection === null || selection === void 0 ? void 0 : selection.anchorNode, '[data-editor-popup]');
79
78
 
80
79
  // For clicks directly on the content component -- they should not be ignored
81
- var isContentComponent = fg('platform_editor_keep_focus_on_content_comp_clicks') ? target === null || target === void 0 || (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest("[".concat(ignoreAttribute, "]")) : !!closestElement(target, "[".concat(ignoreAttribute, "]")) || (target === null || target === void 0 ? void 0 : target.getAttribute(ignoreAttribute)) === 'true';
80
+ var isContentComponent = target === null || target === void 0 || (_target$parentElement = target.parentElement) === null || _target$parentElement === void 0 ? void 0 : _target$parentElement.closest("[".concat(ignoreAttribute, "]"));
82
81
 
83
82
  // This is a super workaround to find when events are coming from Confluence InlineComment modal
84
83
  // We don't own those components, so we can't change them
@@ -1,3 +1,4 @@
1
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
1
2
  /* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
2
3
  /* eslint-disable @atlaskit/design-system/consistent-css-prop-usage */
3
4
  /**
@@ -9,6 +10,7 @@ import React from 'react';
9
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
11
  import { jsx, useTheme } from '@emotion/react';
11
12
  import { browser as browserLegacy, getBrowserInfo } from '@atlaskit/editor-common/browser';
13
+ import { richMediaClassName } from '@atlaskit/editor-common/styles';
12
14
  import { akEditorGutterPaddingDynamic, editorFontSize } from '@atlaskit/editor-shared-styles';
13
15
  import { fg } from '@atlaskit/platform-feature-flags';
14
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
@@ -58,7 +60,7 @@ import { shadowStyles } from './styles/shadowStyles';
58
60
  import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
59
61
  import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match } from './styles/statusStyles';
60
62
  import { syncBlockStyles } from './styles/syncBlockStyles';
61
- import { tableCommentEditorStyles, tableContainerStyles, tableLayoutFixes } from './styles/tableStyles';
63
+ import { tableCommentEditorStyles, tableContainerOverflowY, tableContainerStyles, tableLayoutFixes } from './styles/tableStyles';
62
64
  import { decisionStyles, tasksAndDecisionsStyles, decisionIconWithVisualRefresh, decisionIconWithoutVisualRefresh, taskItemStyles, taskItemStylesWithBlockTaskItem, decisionDangerStyles } from './styles/tasksAndDecisionsStyles';
63
65
  import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
64
66
  import { textColorStyles } from './styles/textColorStyles';
@@ -66,6 +68,34 @@ import { textHighlightStyle } from './styles/textHighlightStyles';
66
68
  import { unsupportedStyles } from './styles/unsupportedStyles';
67
69
  import { whitespaceStyles } from './styles/whitespaceStyles';
68
70
  var isFirefox = typeof navigator !== 'undefined' && navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
71
+ var alignMultipleWrappedImageInLayoutStyles = {
72
+ '.ProseMirror [data-layout-section] [data-layout-column] > div': {
73
+ // apply marginTop to wrapped mediaSingle that has preceding wrapped mediaSingle (even when there's gap cursor in between them)
74
+ // Given the first wrapped mediaSingle in layout has 0 marginTop, this is needed to make sure fellow wrapped mediaSingle align with it horizontally
75
+ '.mediaSingleView-content-wrap[layout^=wrap] + .mediaSingleView-content-wrap[layout^=wrap], .mediaSingleView-content-wrap[layout^=wrap] + .ProseMirror-gapcursor + .mediaSingleView-content-wrap[layout^=wrap]': {
76
+ '.rich-media-item': {
77
+ marginTop: 0
78
+ }
79
+ },
80
+ // Due to the above rule, wrapped mediaSingle (not the first node in layout) that are followed by wrapped mediaSingle should also have 0 marginTop
81
+ // so it's aligned with the following wrapped mediaSingle
82
+ '.mediaSingleView-content-wrap[layout^=wrap]:has( + .mediaSingleView-content-wrap[layout^=wrap])': {
83
+ '.rich-media-item': {
84
+ marginTop: 0
85
+ }
86
+ }
87
+ }
88
+ };
89
+ var firstWrappedMediaStyles = {
90
+ '.ProseMirror': {
91
+ // Remove gap between first wrapped mediaSingle and its fellow wrapped mediaSingle
92
+ "& [layout^='wrap-']:has(+ [layout^='wrap-']), & [layout^='wrap-']:has(+ .ProseMirror-gapcursor + [layout^='wrap-'])": _defineProperty({}, "& .".concat(richMediaClassName), {
93
+ marginLeft: 0,
94
+ marginRight: 0
95
+ })
96
+ }
97
+ };
98
+
69
99
  /**
70
100
  * EditorContentStyles is a wrapper component that applies styles to its children
71
101
  * based on the provided feature flags, view mode, and other props.
@@ -175,6 +205,8 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
175
205
  ruleStyles,
176
206
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
177
207
  mediaStyles,
208
+ // merge firstWrappedMediaStyles with mediaStyles when clean up platform_editor_fix_media_in_renderer
209
+ fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles,
178
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
179
211
  telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
180
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -256,7 +288,9 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
256
288
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
257
289
  resizerStyles,
258
290
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
259
- layoutBaseStyles, expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) &&
291
+ layoutBaseStyles,
292
+ // merge alignMultipleWrappedImageInLayoutStyles with layoutBaseStyles when clean up platform_editor_fix_media_in_renderer
293
+ fg('platform_editor_fix_media_in_renderer') && alignMultipleWrappedImageInLayoutStyles, expValEqualsNoExposure('platform_synced_block', 'isEnabled', true) &&
260
294
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
261
295
  syncBlockStyles,
262
296
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -358,10 +392,12 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
358
392
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
359
393
  mediaAlignmentStyles,
360
394
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
361
- tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true) &&
395
+ tableLayoutFixes,
362
396
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
363
397
  tableContainerStyles,
364
398
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
399
+ !fg('platform_editor_table_container_y_overflow_fix') && tableContainerOverflowY,
400
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
365
401
  hyperLinkFloatingToolbarStyles,
366
402
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
367
403
  !fg('platform-visual-refresh-icons') && linkLegacyIconStylesFix,
@@ -34,7 +34,6 @@ export var tableContainerStyles = css({
34
34
  '.ProseMirror .pm-table-wrapper': {
35
35
  maxWidth: '100%',
36
36
  overflowX: 'auto',
37
- overflowY: 'visible',
38
37
  // Ensure the wrapper doesn't grow beyond its container
39
38
  width: '100%',
40
39
  boxSizing: 'border-box'
@@ -48,4 +47,13 @@ export var tableContainerStyles = css({
48
47
  // Ensure tables can be scrolled horizontally if needed
49
48
  minWidth: 'auto'
50
49
  }
50
+ });
51
+
52
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles
53
+ export var tableContainerOverflowY = css({
54
+ /* Fix for HOT-119925: Ensure table containers have proper width constraints and overflow handling */
55
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
56
+ '.ProseMirror .pm-table-wrapper': {
57
+ overflowY: 'visible'
58
+ }
51
59
  });
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "214.2.2";
2
+ export var version = "214.2.4";
@@ -28,12 +28,5 @@ export { default as measurements } from './utils/performance/measure-enum';
28
28
  export { createFeatureFlagsFromProps } from './utils/feature-flags-from-props';
29
29
  export type { Command, EditorProps, EditorInstance, CommandDispatch } from './types';
30
30
  export { default as EditorActions } from './actions';
31
- export {
32
- /**
33
- * @deprecated
34
- * DO NOT USE THIS WILL BE REMOVED SOON.
35
- * use this instead: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
36
- */
37
- createEditorContentStyle, } from './ui/ContentStyles';
38
31
  export { getDefaultPresetOptionsFromEditorProps } from './create-editor/create-plugins-list';
39
32
  export { ReactEditorView } from './create-editor/ReactEditorView';
@@ -3,3 +3,4 @@ export declare const tableLayoutFixes: SerializedStyles;
3
3
  export declare const tableCommentEditorMarginOverride: SerializedStyles;
4
4
  export declare const tableCommentEditorStyles: SerializedStyles;
5
5
  export declare const tableContainerStyles: SerializedStyles;
6
+ export declare const tableContainerOverflowY: SerializedStyles;
@@ -28,12 +28,5 @@ export { default as measurements } from './utils/performance/measure-enum';
28
28
  export { createFeatureFlagsFromProps } from './utils/feature-flags-from-props';
29
29
  export type { Command, EditorProps, EditorInstance, CommandDispatch } from './types';
30
30
  export { default as EditorActions } from './actions';
31
- export {
32
- /**
33
- * @deprecated
34
- * DO NOT USE THIS WILL BE REMOVED SOON.
35
- * use this instead: packages/editor/editor-core/src/ui/EditorContentContainer.tsx
36
- */
37
- createEditorContentStyle, } from './ui/ContentStyles';
38
31
  export { getDefaultPresetOptionsFromEditorProps } from './create-editor/create-plugins-list';
39
32
  export { ReactEditorView } from './create-editor/ReactEditorView';
@@ -3,3 +3,4 @@ export declare const tableLayoutFixes: SerializedStyles;
3
3
  export declare const tableCommentEditorMarginOverride: SerializedStyles;
4
4
  export declare const tableCommentEditorStyles: SerializedStyles;
5
5
  export declare const tableContainerStyles: SerializedStyles;
6
+ export declare const tableContainerOverflowY: SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "214.2.3",
3
+ "version": "215.0.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -50,7 +50,7 @@
50
50
  "@atlaskit/editor-performance-metrics": "^2.1.0",
51
51
  "@atlaskit/editor-plugin-quick-insert": "^6.0.0",
52
52
  "@atlaskit/editor-plugin-user-preferences": "^4.0.0",
53
- "@atlaskit/editor-plugins": "^10.6.0",
53
+ "@atlaskit/editor-plugins": "^11.0.0",
54
54
  "@atlaskit/editor-prosemirror": "7.0.0",
55
55
  "@atlaskit/editor-shared-styles": "^3.6.0",
56
56
  "@atlaskit/editor-toolbar": "^0.14.0",
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
65
65
  "@atlaskit/react-ufo": "^4.11.0",
66
66
  "@atlaskit/task-decision": "^19.2.0",
67
- "@atlaskit/tmp-editor-statsig": "^13.5.0",
67
+ "@atlaskit/tmp-editor-statsig": "^13.6.0",
68
68
  "@atlaskit/tokens": "^6.4.0",
69
69
  "@atlaskit/tooltip": "^20.5.0",
70
70
  "@atlaskit/width-detector": "^5.0.0",
@@ -81,7 +81,7 @@
81
81
  "uuid": "^3.1.0"
82
82
  },
83
83
  "peerDependencies": {
84
- "@atlaskit/editor-common": "^110.8.0",
84
+ "@atlaskit/editor-common": "^110.9.0",
85
85
  "@atlaskit/link-provider": "^4.0.0",
86
86
  "@atlaskit/media-core": "^37.0.0",
87
87
  "react": "^18.2.0",
@@ -97,7 +97,7 @@
97
97
  "@atlaskit/editor-plugin-annotation": "^6.1.0",
98
98
  "@atlaskit/editor-plugin-card": "^11.2.0",
99
99
  "@atlaskit/editor-plugin-list": "^8.0.0",
100
- "@atlaskit/editor-plugin-paste": "^7.0.0",
100
+ "@atlaskit/editor-plugin-paste": "^7.2.0",
101
101
  "@atlaskit/link-provider": "^4.0.0",
102
102
  "@atlaskit/logo": "^19.9.0",
103
103
  "@atlaskit/media-core": "^37.0.0",
@@ -261,6 +261,9 @@
261
261
  "type": "boolean",
262
262
  "referenceOnly": true
263
263
  },
264
+ "platform_editor_fix_media_in_renderer": {
265
+ "type": "boolean"
266
+ },
264
267
  "platform_editor_react_18_autofocus_fix": {
265
268
  "type": "boolean"
266
269
  },
@@ -317,9 +320,6 @@
317
320
  "type": "boolean",
318
321
  "referenceOnly": true
319
322
  },
320
- "platform_editor_keep_focus_on_content_comp_clicks": {
321
- "type": "boolean"
322
- },
323
323
  "platform_editor_cmd_y_mac_redo_shortcut": {
324
324
  "type": "boolean",
325
325
  "referenceOnly": true
@@ -478,6 +478,9 @@
478
478
  },
479
479
  "platform_editor_text_highlight_padding": {
480
480
  "type": "boolean"
481
+ },
482
+ "platform_editor_table_container_y_overflow_fix": {
483
+ "type": "boolean"
481
484
  }
482
485
  },
483
486
  "stricter": {
@@ -1,17 +0,0 @@
1
- {
2
- "name": "@atlaskit/editor-core/create-editor-content-style",
3
- "main": "../dist/cjs/ui/ContentStyles/index.js",
4
- "module": "../dist/esm/ui/ContentStyles/index.js",
5
- "module:es2019": "../dist/es2019/ui/ContentStyles/index.js",
6
- "sideEffects": [
7
- "*.compiled.css"
8
- ],
9
- "types": "../dist/types/ui/ContentStyles/index.d.ts",
10
- "typesVersions": {
11
- ">=4.5 <5.9": {
12
- "*": [
13
- "../dist/types-ts4.5/ui/ContentStyles/index.d.ts"
14
- ]
15
- }
16
- }
17
- }