@atlaskit/editor-core 238.0.0 → 238.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 238.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`56bd2d041039c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/56bd2d041039c) -
8
+ Remove the disabled extension block spacing experiment and its unused editor styles.
9
+ - Updated dependencies
10
+
3
11
  ## 238.0.0
4
12
 
5
13
  ### Patch Changes
@@ -8,9 +8,7 @@
8
8
  .cc-123pw0y{--ak-editor--default-gutter-padding:32px}.cc-123pw0y{--ak-editor--default-layout-width:760px}.cc-123pw0y{--ak-editor--resizer-handle-spacing:12px}.cc-123pw0y{--ak-editor--full-width-layout-width:1800px}.cc-123pw0y{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--default-layout-width))}.cc-123pw0y{--ak-editor--max-width-layout-width:4000px}.cc-123pw0y{--ak-editor--breakout-wide-layout-width:905px}.cc-123pw0y{--ak-editor--breakout-full-page-guttering-padding:calc(var(--ak-editor--large-gutter-padding)*2 + var(--ak-editor--default-gutter-padding))}.cc-123pw0y{--ak-editor--breakout-fallback-width:calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))}.cc-123pw0y{--ak-editor--breakout-min-width:100%}.cc-123pw0y .fabric-editor--full-width-mode{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--full-width-layout-width));--ak-editor--breakout-fallback-width:100%;--ak-editor--breakout-min-width:0px}.cc-123pw0y .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding));outline-color:currentColor;outline-style:none;outline-width:medium;font-size:var(--ak-editor-base-font-size)}.cc-123pw0y .ProseMirror>div[data-prosemirror-node-block] [data-prosemirror-node-block]{--ak-editor-max-container-width:100%}@container editor-area (width >= 1266px){.cc-123pw0y .ProseMirror{--ak-editor--breakout-wide-layout-width:1011px}}
9
9
  .cc-cgsb4r .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding)*2)}
10
10
  .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>p:first-child:not(style){margin-top:0}
11
- .cc-mc43mp .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror>style:first-child+p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote:first-child{margin-top:0}.cc-mc43mp .ProseMirror .code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-mc43mp .ProseMirror li>.code-block:first-child{margin-top:0}.cc-mc43mp .ProseMirror li>div:last-of-type.code-block, .cc-mc43mp .ProseMirror li>pre:last-of-type.code-block{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .blockCardView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror .extensionView-content-wrap, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:first-of-type{margin-top:0}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:last-of-type{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.extensionView-content-wrap{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-bottom:0}
12
11
  .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedExtension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=extension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=multiBodiedExtension]){margin-top:.75rem;margin-right:0;margin-bottom:.75rem;margin-left:0}
13
- .cc-1syzwzx .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75em)}
14
12
  .cc-1w88a35 .ProseMirror blockquote.danger{background-color:var(--ds-background-danger,#ffeceb);border-left-color:var(--ds-border-danger,#e2483d)}
15
13
  .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node{background:var(--ds-background-accent-blue-subtler,#cfe1fd);border-left-color:var(--ds-border-selected,#1868db);-webkit-user-select:text}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::selection{background-color:transparent}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::-moz-selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::-moz-selection{background-color:transparent}
16
14
  .cc-2psl3e .ProseMirror blockquote{box-sizing:border-box;color:inherit;width:100%;display:inline-block;padding-top:0;padding-bottom:0;padding-left:var(--ds-space-200,1pc);border-left-width:var(--ds-border-width-selected,2px);border-left-style:solid;border-left-color:var(--ds-border,#0b120e24);margin-top:.75rem;margin-bottom:0;margin-left:0;margin-right:0}.cc-2psl3e .ProseMirror blockquote:first-child{margin-top:0}.cc-2psl3e .ProseMirror blockquote:before{content:""}.cc-2psl3e .ProseMirror blockquote:after{content:none}.cc-2psl3e .ProseMirror blockquote p{display:block}.cc-2psl3e .ProseMirror blockquote table, .cc-2psl3e .ProseMirror blockquote table:last-child{display:inline-table}.cc-2psl3e .ProseMirror blockquote>.code-block:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaGroupView-content-wrap:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaSingleView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror blockquote>.extensionView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h1:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h2:first-child{margin-top:1.8em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h3:first-child{margin-top:2em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h4:first-child{margin-top:1.357em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h5:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h6:first-child{margin-top:1.455em}.cc-2psl3e .ProseMirror .ProseMirror-gapcursor:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.ProseMirror-widget:nth-child(2)+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
@@ -55,13 +55,6 @@ var GRID_GUTTER = 12;
55
55
  var blockNodesVerticalMargin = '0.75rem';
56
56
  var fontSize14px = "".concat(14 / 16, "rem");
57
57
  var scaledBlockNodesVerticalMargin = '0.75em';
58
- // Block spacing hook (gated by isExperimentEnabled('platform_editor_extension_block_spacing')).
59
- // When the experiment is on, these variants re-declare the block margins to read from the
60
- // `--ak-editor-extension-block-spacing` CSS custom property, falling back to the original values.
61
- // When the experiment is off, none of these are applied and behaviour is identical to before.
62
- var blockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75rem)';
63
- var scaledBlockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75em)';
64
-
65
58
  // emoji constants — values inlined from packages/elements/emoji/src/util/constants.ts
66
59
  // If you need to update these values, please also update packages/elements/emoji/src/util/constants.ts
67
60
  var defaultEmojiHeight = 20;
@@ -156,9 +149,7 @@ var editorContentStyles = {
156
149
  baseStyles: "cc-123pw0y",
157
150
  baseStylesMaxContainerWidthFixes: "cc-cgsb4r",
158
151
  blockMarksStyles: "cc-11zeupy",
159
- blockSpacingVarStyles: "cc-mc43mp",
160
152
  extensionWithBreakoutStyles: "cc-104fmpo",
161
- blockSpacingVarScaledStyles: "cc-1syzwzx",
162
153
  blockquoteDangerStyles: "cc-1w88a35",
163
154
  blockquoteSelectedNodeStyles: "cc-pt15wg",
164
155
  blocktypeStyles: "cc-2psl3e",
@@ -396,9 +387,6 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
396
387
  });
397
388
  }, [tableOverflowShadow]);
398
389
  var browser = (0, _browser.getBrowserInfo)();
399
-
400
- // Evaluate the block-spacing experiment once per render.
401
- var isBlockSpacingEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_extension_block_spacing');
402
390
  var isFloatingTocEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_floating_toc');
403
391
  var isUpdateStatusColorsEnabled = (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_update_status_colors', 'isEnabled', false) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_update_status_colors_jira', 'isEnabled', false);
404
392
  var isStatusStylesTeam26 = (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts');
@@ -407,7 +395,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
407
395
  className: (0, _runtime.ax)([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true, {
408
396
  exposure: true
409
397
  }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
410
- editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _fg.fg)('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, (0, _fg.fg)('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
398
+ editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, (0, _fg.fg)('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : (0, _fg.fg)('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, (0, _fg.fg)('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, (0, _fg.fg)('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && !(0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && (0, _fg.fg)('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_reduce_forced_layout') && !(0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, (0, _editorExperiment.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _editorExperiment.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !(0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, (0, _expValEquals.expValEquals)('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, (0, _fg.fg)('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, (0, _fg.fg)('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
411
399
  ref: ref,
412
400
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
413
401
  "data-testid": "editor-content-container"
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "237.0.9";
9
+ var version = exports.version = "238.0.0";
@@ -8,9 +8,7 @@
8
8
  .cc-123pw0y{--ak-editor--default-gutter-padding:32px}.cc-123pw0y{--ak-editor--default-layout-width:760px}.cc-123pw0y{--ak-editor--resizer-handle-spacing:12px}.cc-123pw0y{--ak-editor--full-width-layout-width:1800px}.cc-123pw0y{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--default-layout-width))}.cc-123pw0y{--ak-editor--max-width-layout-width:4000px}.cc-123pw0y{--ak-editor--breakout-wide-layout-width:905px}.cc-123pw0y{--ak-editor--breakout-full-page-guttering-padding:calc(var(--ak-editor--large-gutter-padding)*2 + var(--ak-editor--default-gutter-padding))}.cc-123pw0y{--ak-editor--breakout-fallback-width:calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))}.cc-123pw0y{--ak-editor--breakout-min-width:100%}.cc-123pw0y .fabric-editor--full-width-mode{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--full-width-layout-width));--ak-editor--breakout-fallback-width:100%;--ak-editor--breakout-min-width:0px}.cc-123pw0y .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding));outline-color:currentColor;outline-style:none;outline-width:medium;font-size:var(--ak-editor-base-font-size)}.cc-123pw0y .ProseMirror>div[data-prosemirror-node-block] [data-prosemirror-node-block]{--ak-editor-max-container-width:100%}@container editor-area (width >= 1266px){.cc-123pw0y .ProseMirror{--ak-editor--breakout-wide-layout-width:1011px}}
9
9
  .cc-cgsb4r .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding)*2)}
10
10
  .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>p:first-child:not(style){margin-top:0}
11
- .cc-mc43mp .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror>style:first-child+p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote:first-child{margin-top:0}.cc-mc43mp .ProseMirror .code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-mc43mp .ProseMirror li>.code-block:first-child{margin-top:0}.cc-mc43mp .ProseMirror li>div:last-of-type.code-block, .cc-mc43mp .ProseMirror li>pre:last-of-type.code-block{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .blockCardView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror .extensionView-content-wrap, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:first-of-type{margin-top:0}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:last-of-type{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.extensionView-content-wrap{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-bottom:0}
12
11
  .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedExtension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=extension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=multiBodiedExtension]){margin-top:.75rem;margin-right:0;margin-bottom:.75rem;margin-left:0}
13
- .cc-1syzwzx .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75em)}
14
12
  .cc-1w88a35 .ProseMirror blockquote.danger{background-color:var(--ds-background-danger,#ffeceb);border-left-color:var(--ds-border-danger,#e2483d)}
15
13
  .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node{background:var(--ds-background-accent-blue-subtler,#cfe1fd);border-left-color:var(--ds-border-selected,#1868db);-webkit-user-select:text}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::selection{background-color:transparent}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::-moz-selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::-moz-selection{background-color:transparent}
16
14
  .cc-2psl3e .ProseMirror blockquote{box-sizing:border-box;color:inherit;width:100%;display:inline-block;padding-top:0;padding-bottom:0;padding-left:var(--ds-space-200,1pc);border-left-width:var(--ds-border-width-selected,2px);border-left-style:solid;border-left-color:var(--ds-border,#0b120e24);margin-top:.75rem;margin-bottom:0;margin-left:0;margin-right:0}.cc-2psl3e .ProseMirror blockquote:first-child{margin-top:0}.cc-2psl3e .ProseMirror blockquote:before{content:""}.cc-2psl3e .ProseMirror blockquote:after{content:none}.cc-2psl3e .ProseMirror blockquote p{display:block}.cc-2psl3e .ProseMirror blockquote table, .cc-2psl3e .ProseMirror blockquote table:last-child{display:inline-table}.cc-2psl3e .ProseMirror blockquote>.code-block:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaGroupView-content-wrap:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaSingleView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror blockquote>.extensionView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h1:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h2:first-child{margin-top:1.8em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h3:first-child{margin-top:2em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h4:first-child{margin-top:1.357em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h5:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h6:first-child{margin-top:1.455em}.cc-2psl3e .ProseMirror .ProseMirror-gapcursor:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.ProseMirror-widget:nth-child(2)+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
@@ -50,13 +50,6 @@ const GRID_GUTTER = 12;
50
50
  const blockNodesVerticalMargin = '0.75rem';
51
51
  const fontSize14px = `${14 / 16}rem`;
52
52
  const scaledBlockNodesVerticalMargin = '0.75em';
53
- // Block spacing hook (gated by isExperimentEnabled('platform_editor_extension_block_spacing')).
54
- // When the experiment is on, these variants re-declare the block margins to read from the
55
- // `--ak-editor-extension-block-spacing` CSS custom property, falling back to the original values.
56
- // When the experiment is off, none of these are applied and behaviour is identical to before.
57
- const blockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75rem)';
58
- const scaledBlockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75em)';
59
-
60
53
  // emoji constants — values inlined from packages/elements/emoji/src/util/constants.ts
61
54
  // If you need to update these values, please also update packages/elements/emoji/src/util/constants.ts
62
55
  const defaultEmojiHeight = 20;
@@ -208,9 +201,7 @@ const editorContentStyles = {
208
201
  baseStyles: "cc-123pw0y",
209
202
  baseStylesMaxContainerWidthFixes: "cc-cgsb4r",
210
203
  blockMarksStyles: "cc-11zeupy",
211
- blockSpacingVarStyles: "cc-mc43mp",
212
204
  extensionWithBreakoutStyles: "cc-104fmpo",
213
- blockSpacingVarScaledStyles: "cc-1syzwzx",
214
205
  blockquoteDangerStyles: "cc-1w88a35",
215
206
  blockquoteSelectedNodeStyles: "cc-pt15wg",
216
207
  blocktypeStyles: "cc-2psl3e",
@@ -452,9 +443,6 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
452
443
  })
453
444
  }), [tableOverflowShadow]);
454
445
  const browser = getBrowserInfo();
455
-
456
- // Evaluate the block-spacing experiment once per render.
457
- const isBlockSpacingEnabled = isExperimentEnabled('platform_editor_extension_block_spacing');
458
446
  const isFloatingTocEnabled = isExperimentEnabled('platform_editor_floating_toc');
459
447
  const isUpdateStatusColorsEnabled = UNSAFE_expValNoExposure('platform_editor_update_status_colors', 'isEnabled', false) || UNSAFE_expValNoExposure('platform_editor_update_status_colors_jira', 'isEnabled', false);
460
448
  const isStatusStylesTeam26 = fg('platform-dst-lozenge-tag-badge-visual-uplifts');
@@ -463,7 +451,7 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
463
451
  className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
464
452
  exposure: true
465
453
  }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, isExperimentEnabled('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
466
- editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
454
+ editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
467
455
  ref: ref,
468
456
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
469
457
  "data-testid": "editor-content-container"
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "237.0.9";
3
+ export const version = "238.0.0";
@@ -8,9 +8,7 @@
8
8
  .cc-123pw0y{--ak-editor--default-gutter-padding:32px}.cc-123pw0y{--ak-editor--default-layout-width:760px}.cc-123pw0y{--ak-editor--resizer-handle-spacing:12px}.cc-123pw0y{--ak-editor--full-width-layout-width:1800px}.cc-123pw0y{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--default-layout-width))}.cc-123pw0y{--ak-editor--max-width-layout-width:4000px}.cc-123pw0y{--ak-editor--breakout-wide-layout-width:905px}.cc-123pw0y{--ak-editor--breakout-full-page-guttering-padding:calc(var(--ak-editor--large-gutter-padding)*2 + var(--ak-editor--default-gutter-padding))}.cc-123pw0y{--ak-editor--breakout-fallback-width:calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))}.cc-123pw0y{--ak-editor--breakout-min-width:100%}.cc-123pw0y .fabric-editor--full-width-mode{--ak-editor--line-length:min(calc(100cqw - var(--ak-editor--large-gutter-padding)*2),var(--ak-editor--full-width-layout-width));--ak-editor--breakout-fallback-width:100%;--ak-editor--breakout-min-width:0px}.cc-123pw0y .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding));outline-color:currentColor;outline-style:none;outline-width:medium;font-size:var(--ak-editor-base-font-size)}.cc-123pw0y .ProseMirror>div[data-prosemirror-node-block] [data-prosemirror-node-block]{--ak-editor-max-container-width:100%}@container editor-area (width >= 1266px){.cc-123pw0y .ProseMirror{--ak-editor--breakout-wide-layout-width:1011px}}
9
9
  .cc-cgsb4r .ProseMirror{--ak-editor-max-container-width:calc(100cqw - var(--ak-editor--large-gutter-padding)*2)}
10
10
  .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p style:first-child+*, .cc-11zeupy .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-alignment:first-of-type:first-child p:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child .heading-wrapper:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h1:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h2:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h3:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h4:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h5:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6 style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style), .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p style:first-child+*, .cc-11zeupy .fabric-editor-font-size:first-of-type:first-child p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>.heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) .heading-wrapper:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>div.fabric-editor-block-mark:first-of-type:not(.fabric-editor-indentation-mark):not(.fabric-editor-alignment):not(.fabric-editor-font-size) p:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h1 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h1:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h2 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h2:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h3 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h3:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h4 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h4:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h5 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h5:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>h6 style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>h6:first-child:not(style), .cc-11zeupy :not(.fabric-editor-block-mark)>p style:first-child+*, .cc-11zeupy :not(.fabric-editor-block-mark)>p:first-child:not(style){margin-top:0}
11
- .cc-mc43mp .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror>style:first-child+p{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror blockquote:first-child{margin-top:0}.cc-mc43mp .ProseMirror .code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.code-block{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block, .cc-mc43mp .ProseMirror li>.code-block:first-child{margin-top:0}.cc-mc43mp .ProseMirror li>div:last-of-type.code-block, .cc-mc43mp .ProseMirror li>pre:last-of-type.code-block{margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .blockCardView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror .extensionView-content-wrap, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:first-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:first-of-type{margin-top:0}.cc-mc43mp .ProseMirror .bodiedExtensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .extensionView-content-wrap:last-of-type, .cc-mc43mp .ProseMirror .multiBodiedExtensionView-content-wrap:last-of-type{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:var(--ak-editor-extension-block-spacing,.75rem);margin-bottom:var(--ak-editor-extension-block-spacing,.75rem)}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:first-child>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-top:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>.extensionView-content-wrap{margin-bottom:0}.cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap, .cc-mc43mp .ProseMirror [data-mark-type=fragment]:nth-last-of-type(-n+2):not(:first-of-type)>[data-mark-type=dataConsumer]>.extensionView-content-wrap{margin-bottom:0}
12
11
  .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=bodiedExtension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=extension]), .cc-104fmpo .fabric-editor-breakout-mark:has([data-prosemirror-node-name=multiBodiedExtension]){margin-top:.75rem;margin-right:0;margin-bottom:.75rem;margin-left:0}
13
- .cc-1syzwzx .ProseMirror p{margin-top:var(--ak-editor-extension-block-spacing,.75em)}
14
12
  .cc-1w88a35 .ProseMirror blockquote.danger{background-color:var(--ds-background-danger,#ffeceb);border-left-color:var(--ds-border-danger,#e2483d)}
15
13
  .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node{background:var(--ds-background-accent-blue-subtler,#cfe1fd);border-left-color:var(--ds-border-selected,#1868db);-webkit-user-select:text}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::selection{background-color:transparent}.cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node ::-moz-selection, .cc-pt15wg .ProseMirror blockquote.ak-editor-selected-node::-moz-selection{background-color:transparent}
16
14
  .cc-2psl3e .ProseMirror blockquote{box-sizing:border-box;color:inherit;width:100%;display:inline-block;padding-top:0;padding-bottom:0;padding-left:var(--ds-space-200,1pc);border-left-width:var(--ds-border-width-selected,2px);border-left-style:solid;border-left-color:var(--ds-border,#0b120e24);margin-top:.75rem;margin-bottom:0;margin-left:0;margin-right:0}.cc-2psl3e .ProseMirror blockquote:first-child{margin-top:0}.cc-2psl3e .ProseMirror blockquote:before{content:""}.cc-2psl3e .ProseMirror blockquote:after{content:none}.cc-2psl3e .ProseMirror blockquote p{display:block}.cc-2psl3e .ProseMirror blockquote table, .cc-2psl3e .ProseMirror blockquote table:last-child{display:inline-table}.cc-2psl3e .ProseMirror blockquote>.code-block:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaGroupView-content-wrap:last-child, .cc-2psl3e .ProseMirror blockquote>.mediaSingleView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror blockquote>.extensionView-content-wrap:last-child{display:block}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h1:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h2:first-child{margin-top:1.8em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h3:first-child{margin-top:2em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h4:first-child{margin-top:1.357em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h5:first-child{margin-top:1.667em}.cc-2psl3e .ProseMirror .fabric-editor-block-mark.fabric-editor-alignment:not(:first-child)>h6:first-child{margin-top:1.455em}.cc-2psl3e .ProseMirror .ProseMirror-gapcursor:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.ProseMirror-widget:nth-child(2)+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child, .cc-2psl3e .ProseMirror .ProseMirror-widget:first-child+.fabric-editor-block-mark.fabric-editor-alignment>:is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
@@ -55,13 +55,6 @@ var GRID_GUTTER = 12;
55
55
  var blockNodesVerticalMargin = '0.75rem';
56
56
  var fontSize14px = "".concat(14 / 16, "rem");
57
57
  var scaledBlockNodesVerticalMargin = '0.75em';
58
- // Block spacing hook (gated by isExperimentEnabled('platform_editor_extension_block_spacing')).
59
- // When the experiment is on, these variants re-declare the block margins to read from the
60
- // `--ak-editor-extension-block-spacing` CSS custom property, falling back to the original values.
61
- // When the experiment is off, none of these are applied and behaviour is identical to before.
62
- var blockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75rem)';
63
- var scaledBlockNodesVerticalMarginVar = 'var(--ak-editor-extension-block-spacing, 0.75em)';
64
-
65
58
  // emoji constants — values inlined from packages/elements/emoji/src/util/constants.ts
66
59
  // If you need to update these values, please also update packages/elements/emoji/src/util/constants.ts
67
60
  var defaultEmojiHeight = 20;
@@ -156,9 +149,7 @@ var editorContentStyles = {
156
149
  baseStyles: "cc-123pw0y",
157
150
  baseStylesMaxContainerWidthFixes: "cc-cgsb4r",
158
151
  blockMarksStyles: "cc-11zeupy",
159
- blockSpacingVarStyles: "cc-mc43mp",
160
152
  extensionWithBreakoutStyles: "cc-104fmpo",
161
- blockSpacingVarScaledStyles: "cc-1syzwzx",
162
153
  blockquoteDangerStyles: "cc-1w88a35",
163
154
  blockquoteSelectedNodeStyles: "cc-pt15wg",
164
155
  blocktypeStyles: "cc-2psl3e",
@@ -396,9 +387,6 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
396
387
  });
397
388
  }, [tableOverflowShadow]);
398
389
  var browser = getBrowserInfo();
399
-
400
- // Evaluate the block-spacing experiment once per render.
401
- var isBlockSpacingEnabled = isExperimentEnabled('platform_editor_extension_block_spacing');
402
390
  var isFloatingTocEnabled = isExperimentEnabled('platform_editor_floating_toc');
403
391
  var isUpdateStatusColorsEnabled = UNSAFE_expValNoExposure('platform_editor_update_status_colors', 'isEnabled', false) || UNSAFE_expValNoExposure('platform_editor_update_status_colors_jira', 'isEnabled', false);
404
392
  var isStatusStylesTeam26 = fg('platform-dst-lozenge-tag-badge-visual-uplifts');
@@ -407,7 +395,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
407
395
  className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, editorContentStyles.editorGutterPaddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
408
396
  exposure: true
409
397
  }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, isExperimentEnabled('platform_editor_reduce_forced_layout_2') && editorContentStyles.extensionScrollInlineShadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorContentStyles.blocktypeStylesRtlBlockquote, isFloatingTocEnabled && editorContentStyles.headingScrollMarginStyles, editorContentStyles.blockquoteSelectedNodeStyles, editorContentStyles.listSelectedNodeStyles, editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, editorContentStyles.blocktypeStylesNestedDnd, editorContentStyles.codeMarkStyles, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, isExperimentEnabled('platform_editor_lovability_dividers_attributes') && editorContentStyles.ruleWithAttrsStyles, isExperimentEnabled('platform_editor_numbered_headings') && editorContentStyles.numberedHeadingsStyles, editorContentStyles.smartCardDiffStyles, editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaCaptionStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
410
- editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
398
+ editorContentStyles.telepointerColorAndCommonStyle, colorMode === 'dark' && editorContentStyles.telepointerColorAndCommonStyleDarkMode, expValEqualsNoExposure('platform_editor_agent_be_streaming', 'isEnabled', true) && editorContentStyles.agentShimmerStyles, editorContentStyles.gapCursorStyles, editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, editorContentStyles.panelStylesMixinNestedDnd, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, fg('platform_editor_lovability_resize_exts_gracefully') && editorContentStyles.extensionWithBreakoutStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, editorContentStyles.expandStylesMixinNestedDnd, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, editorContentStyles.findReplaceStyles, editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, editorContentStyles.taskItemStylesWithBlockTaskItem, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, isStatusStylesTeam26 ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, isStatusStylesTeam26 && isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedAccent, isStatusStylesTeam26 && !isUpdateStatusColorsEnabled && editorContentStyles.statusStylesNamedSemantic, editorContentStyles.statusStylesHexAccent, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.deletedStatusStrikeStyles, editorContentStyles.annotationStyles, editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.vanillaTooltipDefaultStyles, fg('confluence_ncs_step_diffing_version_history') && editorContentStyles.contributorTagStyles, isExperimentEnabled('platform_editor_vanilla_node_views_phase1') && editorContentStyles.vanillaUnsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorContentStyles.syncBlockStylesBase, fg('platform-dst-tokens-finesse') && editorContentStyles.syncBlockSelectedStyles, !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorContentStyles.syncBlockOverflowStyles, editorContentStyles.syncBlockFirstNodeStyles, editorContentStyles.syncBlockTextSelectionStyles, editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && !fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesLegacy, editorExperiment('advanced_layouts', true) && fg('platform-dst-top-layer-tooltip') && editorContentStyles.layoutDragHandleWrapperStylesTopLayer, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorContentStyles.layoutBaseStylesNestedDndExcludingBodiedSync, editorContentStyles.layoutColumnMartinTopFixes, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorContentStyles.pragmaticResizerStylesSyncedBlock, editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRuleJsdomFix, expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && !isExperimentEnabled('platform_editor_resizer_selector_jsdom_fix') && editorContentStyles.pragmaticResizerStylesPanelAndRule, isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesExtensions, editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, isExperimentEnabled('platform_editor_reduce_forced_layout') && !expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesHiddenForPanelAndRule, isExperimentEnabled('platform_editor_reduce_forced_layout') && !isExperimentEnabled('platform_editor_lovability_resize_extensions') && editorContentStyles.pragmaticResizerStylesHiddenForExtensions, editorExperiment('advanced_layouts', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.pragmaticResizerStylesWithReducedEditorGutter, editorContentStyles.aiPanelBaseStyles, isFirefox && editorContentStyles.aiPanelBaseFirefoxStyles, colorMode === 'dark' && editorContentStyles.aiPanelDarkStyles, colorMode === 'dark' && isFirefox && editorContentStyles.aiPanelDarkFirefoxStyles, viewMode === 'view' && editorContentStyles.layoutStylesForView, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, (isComment || isChromeless) && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, editorContentStyles.firstCodeBlockWithNoMargin, editorContentStyles.firstBlockNodeStyles, editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, isExperimentEnabled('platform_editor_mention_avatar_nowrap') && editorContentStyles.mentionAvatarNoWrapStyles, colorMode === 'dark' && editorContentStyles.agentMentionShimmerDarkMode, editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, isFloatingTocEnabled ? editorContentStyles.directEmojiSelectionStyles : editorContentStyles.emojiSelectionStyles, contentMode === 'compact' && isDense && expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.scaledEmojiDenseStyles, contentMode === 'compact' && isDense && !expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) && editorContentStyles.emojiDenseStyles, editorContentStyles.panelViewStyles, editorContentStyles.mediaGroupStyles, editorContentStyles.mediaAlignmentStyles, editorContentStyles.tableLayoutFixesWithFontSize, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, isExperimentEnabled('platform_editor_table_css_overflow_shadow') && editorContentStyles.tableScrollInlineShadowStyles, (browser.gecko || browser.ie || browser.mac && browser.chrome) && editorContentStyles.tableSharedStyleBackgroundClipFix, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? editorContentStyles.tableSharedStyle_with_platform_editor_table_q4_loveability : editorContentStyles.tableSharedStyle_without_platform_editor_table_q4_loveability, expValEquals('platform_editor_table_menu_updates', 'isEnabled', true) && editorContentStyles.tableSharedStyle_with_platform_editor_table_menu_updates, fg('platform_editor_bordered_panel_nested_in_table') && editorContentStyles.tableSharedStyle_with_platform_editor_bordered_panel_nested_in_table, editorContentStyles.tableEmptyRowStyles, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && editorContentStyles.tableRoundedCornerStyles, editorContentStyles.tableContentModeStyles, editorContentStyles.tableContentModeExtensionContainmentStyles, editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.tableCellBackgroundColorOverrides, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorContentStyles.blockquoteDangerStyles, editorContentStyles.textDangerStyles, editorContentStyles.listDangerStyles, editorContentStyles.dangerDateStyles, editorContentStyles.emojiDangerStyles, editorContentStyles.mentionDangerStyles, editorContentStyles.decisionDangerStyles, editorContentStyles.statusDangerStyles, fg('platform_editor_ai_show_diff_patch_2') && editorContentStyles.atomicInlineChangedBoxShadowStyles, editorContentStyles.dangerRuleStyles, editorContentStyles.mediaDangerStyles, editorContentStyles.nestedPanelDangerStyles, className || undefined]),
411
399
  ref: ref,
412
400
  "data-editor-scroll-container": isScrollable ? 'true' : undefined,
413
401
  "data-testid": "editor-content-container"
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "237.0.9";
3
+ export var version = "238.0.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "238.0.0",
3
+ "version": "238.0.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"