@atlaskit/editor-core 221.11.0 → 221.11.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.
Files changed (26) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +19 -7
  3. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -47
  4. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -4
  5. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +1 -7
  6. package/dist/cjs/ui/EditorContentContainer/styles/blockTypeStyles.js +1 -97
  7. package/dist/cjs/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +1 -21
  8. package/dist/cjs/version-wrapper.js +1 -1
  9. package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +17 -7
  10. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -47
  11. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -4
  12. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +3 -9
  13. package/dist/es2019/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -96
  14. package/dist/es2019/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -20
  15. package/dist/es2019/version-wrapper.js +1 -1
  16. package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +19 -7
  17. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +0 -47
  18. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -4
  19. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +3 -9
  20. package/dist/esm/ui/EditorContentContainer/styles/blockTypeStyles.js +0 -96
  21. package/dist/esm/ui/EditorContentContainer/styles/editorUGCTokenStyles.js +0 -20
  22. package/dist/esm/version-wrapper.js +1 -1
  23. package/dist/types/types/markdown-mode.d.ts +1 -0
  24. package/dist/types/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -7
  25. package/dist/types/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -10
  26. package/package.json +8 -5
@@ -217,7 +217,6 @@ const editorContentStyles = {
217
217
  blocktypeStyles: "_6st2oqnp _g09oidpf _19vkidpf _17vdidpf _1gtxusvi _1htf1kw7 _a3pn1osq _lqso1o8l _19v7idpf _oql5idpf _1w3ipxbi _1sz21dm9 _1nehnqa1 _95mn1l7x _1ezqidpf _s6l1pxbi _1j9eidpf _ymd7b3bt _1cbmglyw _ew481ule _104r17hw _1mzi17hw _15l01ule _12lj1ule _q4ju1ule _yqzd1ule _1ohls05q _13dhs0v8 _1qup44jv _mhqkq19t _fziqs05q _12sp1aa5 _ab5gidpf _10u5idpf _f850idpf",
218
218
  blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes: "_t9o3v47k _iqu9pxbi",
219
219
  blocktypeStyles_fg_platform_editor_typography_ugc: "_1nit1gso _rec2idpf _140c15tv _f50o1j5o _dkhuhd14 _3kuhidpf _x3di14vx _as951j5o _1wg21bjq _1hijidpf _apdb1t5o _wylb1j5o _1i421gfe _k3ws1xfb _h0b91j5o _1uvf1sei _1wzi15tv _qg7oglyw _180c1j5o _a4utehg4 _1dzb6yhe _1k54glyw _pgjg1j5o",
220
- blocktypeStyles_without_fg_platform_editor_typography_ugc: "_7yqie01w _myzt1kw7 _1xm41tc5 _1tzri7uo _f3d81wq8 _5mgiz5jk _rec2idpf _140cs05q _1nip1bvj _1hmq1kw7 _1cllcjiy _jt2ui7uo _cah11wq8 _1yh6vkfx _x3dis0v8 _3kuhidpf _emxw59la _17rf1kw7 _1lng10nf _l2nti7uo _1wfa1pd9 _1cs1qdok _apdb44jv _1hijidpf _1mlf1x4e _138n1kw7 _f5pc1xde _coici7uo _uh5u1pd9 _1blq44hb _k3wsq19t _lmfnvz0p _1eut1kw7 _1hxvye00 _1fyni7uo _12rk1pd9 _1wzis05q _qg7oglyw _cnsrx6qu _1ot51kw7 _xmetlpk9 _14jf1rpy _17m4wu06 _1dzb1aa5 _1k54glyw",
221
220
  codeBlockStyles: "_rv60kb7n _fcmlkb7n _yh39f1ug _1mel1txw _124dkb7n _1wjzqvpr _qt48fajl _s5gzoqnp _at5bidpf _xldsidpf _ano2idpf _1jp6fajl _1vnn1kew _1wdeh2mm _vln5i8nm _123d1txw _19pw1osq _1uue1mxr _18hp1wug _de6kmgnk _ald71cn9 _ip0144v4 _6w9s1o0l _1m9i15vq _1pyru2gc _1y79i8nm _1sg0h2mm _ou5ucuwt _19wyidpf _puavoxwj _155d1ntv _1xgih8dc _c4n5glyw _m7kfglyw _1m67cuwt _48wmidpf _rhzrstnw _tucgoxwj _7q4h1k8s _1sgkusic _muxp1rpy _uq761ntv _1744h2mm _rv0ahp5a _1y8rzzfg _d19zckbl _4ryltlke _aneu1hrf _e8554jg8 _1s981isi _1r0kstnw _i2t315vq _aatx1k8s _4nofidpf _1y3zidpf _6udpstnw _4b4b15vq _1op21k8s _1ljoidpf _1wysidpf _abre6hgr _1r6r15vq _o85roxwj _uazj1k8s _hdw8fajl _16iru2gc _hleuegat _1itz1kdv _c7r7i7uo _19kmoxwj _1rjz1k8s _44nb1j28 _ayedr4us _vpdlh2mm _fmi51kdv _45xostnw _vlc6b3bt _ncseidpf _cfapidpf _4l45idpf _eaptidpf _1bao1osq _812dglyw _u96x1ial _vi8r7wq0 _ffe41j28 _msbp1j28 _4ae31j28 _kfw11j28 _yv3iu2gc _1xtl1ule _1fh01hna _1lr11jtm _naf3oqnp _o60fidpf _3t04idpf _ui89idpf _1de7idpf _1lezidpf _11acoqnp _lr83oqnp _lnhebimv _jvh11gly _16nl1tmw _1fyh1osq _80qob3bt _qgcnstnw _1rakidpf _ue9bidpf _90e31tcg _ja1jrprw _pdshrprw _15ve1gly _b0ld1tmw _s6jz1osq _12qtb3bt _12dbstnw _ce0yidpf _1jh6idpf _ndx01tcg _ytehrprw _i521rprw",
222
221
  codeBlockStylesWithEmUnits: "_1af5ok4x _1cbn1q5e _19km1wqq _1rjz1q5e",
223
222
  codeMarkStyles: "_59uzyh40 _6p44m5ip _1i9tyh40 _2lvxm5ip _9g7rfajl _1iyw1wug _syi51wug _pwh8glyw _af7gi8nm _1bsc1nu9 _1atv187e _1srjqvcn _z49mi7uo _95t2zzfg _ri7p1wqq _5061i7a9 _9ef31hna _or5e1jtm",
@@ -237,7 +236,6 @@ const editorContentStyles = {
237
236
  editorLargeGutterPuddingBaseStyles: "_1vk21ex1",
238
237
  editorLargeGutterPuddingBaseStylesEditorControls: "_1vk2t9kd",
239
238
  editorLargeGutterPuddingReducedBaseStyles: "_lh101tcg",
240
- editorUGCTokensDefault: "_da23275c _ocu01rwh _2s1dh9f3 _15hx9q8f _1qs3ddzq _1u7xm9w9 _1g2sncm8 _11d01fw0",
241
239
  editorUGCTokensRefreshed: "_da23111w _ocu0mnnt _2s1d1xgx _15hxe8o0 _1qs312nz _1u7x1v8p _1g2st7zq _11d01fw0",
242
240
  editorUGCSmallText: "_1v2gnkc8",
243
241
  embedCardStyles: "_bxhh1osq _1xquh2mm _1do8cs5v _15no1e5h _z75ousic _197w1hrf",
@@ -455,13 +453,13 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
455
453
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
456
454
  className: ax([editorContentStyles.baseStyles, editorContentStyles.maxModeReizeFixStyles, editorContentStyles.baseStylesMaxContainerWidthFixes, fg('platform_editor_controls_increase_full_page_gutter') && editorExperiment('platform_editor_controls', 'variant1') ? editorContentStyles.editorLargeGutterPuddingBaseStylesEditorControls : editorContentStyles.editorLargeGutterPuddingBaseStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true, {
457
455
  exposure: true
458
- }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') && editorContentStyles.placeholderWrapStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, !fg('platform_editor_typography_ugc') && editorContentStyles.editorUGCTokensDefault, fg('platform_editor_typography_ugc') && editorContentStyles.editorUGCTokensRefreshed, expValEquals('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorExperiment('platform_editor_block_menu', true, {
456
+ }) && editorContentStyles.editorLargeGutterPuddingReducedBaseStyles, editorContentStyles.whitespaceStyles, editorContentStyles.indentationStyles, expValEquals('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.fontSizeStyles, editorContentStyles.shadowStyles, editorContentStyles.InlineNodeViewSharedStyles, editorContentStyles.hideSelectionStyles, editorContentStyles.hideCursorWhenHideSelectionStyles, editorContentStyles.selectedNodeStyles, editorContentStyles.cursorStyles, editorContentStyles.firstFloatingToolbarButtonStyles, editorContentStyles.placeholderTextStyles, editorContentStyles.placeholderStyles, editorExperiment('platform_editor_controls', 'variant1') && editorContentStyles.placeholderOverflowStyles, editorExperiment('platform_editor_controls', 'variant1') && fg('platform_editor_quick_insert_placeholder') && editorContentStyles.placeholderWrapStyles, editorContentStyles.codeBlockStyles, contentMode === 'compact' && editorContentStyles.codeBlockStylesWithEmUnits, editorContentStyles.editorUGCTokensRefreshed, expValEquals('platform_editor_small_font_size', 'isEnabled', true) && editorContentStyles.editorUGCSmallText, editorContentStyles.blocktypeStyles, editorExperiment('platform_editor_block_menu', true, {
459
457
  exposure: true
460
458
  }) && editorContentStyles.blockquoteSelectedNodeStyles, editorExperiment('platform_editor_block_menu', true, {
461
459
  exposure: true
462
460
  }) && editorContentStyles.listSelectedNodeStyles, editorExperiment('platform_editor_block_menu', true, {
463
461
  exposure: true
464
- }) && editorContentStyles.textSelectedNodeStyles, fg('platform_editor_typography_ugc') ? editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc : editorContentStyles.blocktypeStyles_without_fg_platform_editor_typography_ugc, fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, expValEqualsNoExposure('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
462
+ }) && editorContentStyles.textSelectedNodeStyles, editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc, fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.codeMarkStyles, expValEquals('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !expValEquals('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, expValEqualsNoExposure('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, expValEquals('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.firstWrappedMediaStyles, editorContentStyles.telepointerStyle, /* This needs to be after telepointer styles as some overlapping rules have equal specificity, and so the order is significant */
465
463
  editorContentStyles.telepointerColorAndCommonStyle, editorContentStyles.gapCursorStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.panelStylesMixin_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.panelStylesMixin, editorContentStyles.mentionsStyles, editorContentStyles.tasksAndDecisionsStyles, contentMode === 'compact' && isDense && editorContentStyles.tasksAndDecisionsDenseStyles, editorContentStyles.gridStyles, editorContentStyles.blockMarksStyles, editorContentStyles.dateStyles, editorContentStyles.extensionStyles, contentMode === 'compact' && editorContentStyles.extensionStylesDense, expValEquals('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes : editorContentStyles.expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.expandStylesMixin_fg_platform_visual_refresh_icons, isChromeless && editorContentStyles.expandStylesMixin_chromeless_expand_fix, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.findReplaceStylesNewWithA11Y : editorContentStyles.findReplaceStyles, expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesNewWithCodeblockColorContrastFix, !expValEquals('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, editorExperiment('platform_synced_block', true) && editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, expValEqualsNoExposure('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, fg('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : fg('platform-component-visual-refresh') ? expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_fg_platform_component_visual_refresh : expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match : editorContentStyles.statusStylesMixin_without_fg_platform_component_visual_refresh, colorMode === 'dark' && fg('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorExperiment('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch : editorContentStyles.smartCardStyles, editorExperiment('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, (expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') || editorExperiment('platform_editor_preview_panel_linking_exp', true)) && editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.resizerStyles, expValEqualsNoExposure('cc-maui-experiment', 'isEnabled', true) && expValEquals('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, expValEquals('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, fg('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockStylesBase, editorExperiment('platform_synced_block', true) &&
466
464
  // Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
467
465
  !useStandardNodeWidth && editorContentStyles.syncBlockStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, editorExperiment('platform_synced_block', true) && fg('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, isSyncBlockActivationEnabled && editorExperiment('platform_synced_block', true) && editorContentStyles.syncBlockInteractiveCursorStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, editorExperiment('advanced_layouts', true) && editorExperiment('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, editorExperiment('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, editorExperiment('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, editorExperiment('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !editorExperiment('platform_synced_block', true) && fg('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, fg('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && expValEqualsNoExposure('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && !editorExperiment('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, editorExperiment('advanced_layouts', true) && expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, editorExperiment('platform_editor_preview_panel_responsiveness', true) && (editorExperiment('advanced_layouts', true) || expValEqualsNoExposure('platform_editor_breakout_resizing', 'isEnabled', 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) && fg('platform_comment_container_query') && editorContentStyles.nonFullPageContainerTypeStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorExperiment('platform_editor_first_node_fix', true) && editorContentStyles.firstNodeWidgetFixStyles, editorContentStyles.mentionNodeStyles, expValEqualsNoExposure('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, 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, expValEquals('platform_editor_small_font_size', 'isEnabled', true) ? editorContentStyles.tableLayoutFixesWithFontSize : editorContentStyles.tableLayoutFixes, editorContentStyles.tableContainerStyles, editorContentStyles.tableSharedStyle, (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) && fg('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, editorExperiment('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, isBlockSpacingEnabled && editorContentStyles.blockSpacingVarStyles, isBlockSpacingEnabled && isDense && editorContentStyles.blockSpacingVarScaledStyles, className || undefined]),
@@ -22,14 +22,14 @@ import { backgroundColorStyles, highlightLinksUnsetStyles, textHighlightPaddingS
22
22
  import { baseStyles, baseStylesMaxContainerWidthFixes, editorLargeGutterPuddingBaseStyles, editorLargeGutterPuddingBaseStylesEditorControls, editorLargeGutterPuddingReducedBaseStyles, maxModeReizeFixStyles } from './styles/baseStyles';
23
23
  import { blockMarksStyles } from './styles/blockMarksStyles';
24
24
  import { blockSpacingVarScaledStyles, blockSpacingVarStyles } from './styles/blockSpacingStyles';
25
- import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, blocktypeStyles_without_fg_platform_editor_typography_ugc, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
25
+ import { blockquoteDangerStyles, blockquoteSelectedNodeStyles, blocktypeStyles, blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, blocktypeStyles_fg_platform_editor_typography_ugc, listDangerStyles, listSelectedNodeStyles, textDangerStyles, textSelectedNodeStyles } from './styles/blockTypeStyles';
26
26
  import { codeBlockStyles, codeBlockStylesWithEmUnits, firstCodeBlockWithNoMargin, firstCodeBlockWithNoMarginOld } from './styles/codeBlockStyles';
27
27
  import { codeMarkStyles, codeMarkStylesA11yFix } from './styles/codeMarkStyles';
28
28
  import { commentEditorStyles } from './styles/commentEditorStyles';
29
29
  import { nonFullPageContainerTypeStyles } from './styles/containerTypeStyles';
30
30
  import { cursorStyles } from './styles/cursorStyles';
31
31
  import { dangerDateStyles, dateStyles, dateVanillaStyles } from './styles/dateStyles';
32
- import { editorUGCSmallText, editorUGCTokensDefault, editorUGCTokensRefreshed } from './styles/editorUGCTokenStyles';
32
+ import { editorUGCSmallText, editorUGCTokensRefreshed } from './styles/editorUGCTokenStyles';
33
33
  import { embedCardStyles } from './styles/embedCardStyles';
34
34
  import { emojiDangerStyles, emojiStyles, getDenseEmojiStyles, getScaledDenseEmojiStyles, scaledEmojiStyles } from './styles/emoji';
35
35
  import { expandStyles, expandStylesBase, expandStylesMixin_chromeless_expand_fix, expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes, expandStylesMixin_fg_platform_visual_refresh_icons, expandStylesMixin_without_fg_platform_editor_nested_dnd_styles_changes, getDenseExpandTitleStyles } from './styles/expandStyles';
@@ -209,8 +209,6 @@ export const EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef((prop
209
209
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
210
210
  contentMode === 'compact' && codeBlockStylesWithEmUnits,
211
211
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
212
- !fg('platform_editor_typography_ugc') && editorUGCTokensDefault, fg('platform_editor_typography_ugc') &&
213
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
214
212
  editorUGCTokensRefreshed,
215
213
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
216
214
  expValEquals('platform_editor_small_font_size', 'isEnabled', true) && editorUGCSmallText,
@@ -229,11 +227,7 @@ export const EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef((prop
229
227
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
230
228
  textSelectedNodeStyles,
231
229
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
232
- fg('platform_editor_typography_ugc') ?
233
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
234
- blocktypeStyles_fg_platform_editor_typography_ugc :
235
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
236
- blocktypeStyles_without_fg_platform_editor_typography_ugc, fg('platform_editor_nested_dnd_styles_changes') &&
230
+ blocktypeStyles_fg_platform_editor_typography_ugc, fg('platform_editor_nested_dnd_styles_changes') &&
237
231
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
238
232
  blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes,
239
233
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -231,102 +231,6 @@ export const blocktypeStyles_fg_platform_editor_typography_ugc = css({
231
231
  }
232
232
  }
233
233
  });
234
- /**
235
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
236
- * If you need to make changes here, also update the corresponding style in
237
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
238
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
239
- */
240
- export const blocktypeStyles_without_fg_platform_editor_typography_ugc = css({
241
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
242
- '.ProseMirror': {
243
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
244
- '& h1': {
245
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
246
- fontSize: 'calc(24em / 14)',
247
- fontStyle: 'inherit',
248
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
249
- lineHeight: 'calc(28 / 24)',
250
- color: "var(--ds-text, #292A2E)",
251
- fontWeight: "var(--ds-font-weight-medium, 500)",
252
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
253
- letterSpacing: `-0.01em`,
254
- marginBottom: 0,
255
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
256
- marginTop: '1.667em'
257
- },
258
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
259
- '& h2': {
260
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
261
- fontSize: 'calc(20em / 14)',
262
- fontStyle: 'inherit',
263
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
264
- lineHeight: 'calc(24 / 20)',
265
- color: "var(--ds-text, #292A2E)",
266
- fontWeight: "var(--ds-font-weight-medium, 500)",
267
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
268
- letterSpacing: `-0.008em`,
269
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
270
- marginTop: '1.8em',
271
- marginBottom: 0
272
- },
273
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
274
- '& h3': {
275
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
276
- fontSize: 'calc(16em / 14)',
277
- fontStyle: 'inherit',
278
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
279
- lineHeight: 'calc(20 / 16)',
280
- color: "var(--ds-text, #292A2E)",
281
- fontWeight: "var(--ds-font-weight-semibold, 600)",
282
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
283
- letterSpacing: `-0.006em`,
284
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
285
- marginTop: '2em',
286
- marginBottom: 0
287
- },
288
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
289
- '& h4': {
290
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
291
- fontSize: 'calc(14em / 14)',
292
- fontStyle: 'inherit',
293
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
294
- lineHeight: 'calc(16 / 14)',
295
- color: "var(--ds-text, #292A2E)",
296
- fontWeight: "var(--ds-font-weight-semibold, 600)",
297
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
298
- letterSpacing: `-0.003em`,
299
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
300
- marginTop: '1.357em'
301
- },
302
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
303
- '& h5': {
304
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
305
- fontSize: 'calc(12em / 14)',
306
- fontStyle: 'inherit',
307
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
308
- lineHeight: 'calc(16 / 12)',
309
- color: "var(--ds-text, #292A2E)",
310
- fontWeight: "var(--ds-font-weight-semibold, 600)",
311
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
312
- marginTop: '1.667em',
313
- textTransform: 'none'
314
- },
315
- // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
316
- '& h6': {
317
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
318
- fontSize: 'calc(11em / 14)',
319
- fontStyle: 'inherit',
320
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
321
- lineHeight: 'calc(16 / 11)',
322
- color: "var(--ds-text-subtlest, #6B6E76)",
323
- fontWeight: "var(--ds-font-weight-bold, 653)",
324
- // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
325
- marginTop: '1.455em',
326
- textTransform: 'none'
327
- }
328
- }
329
- });
330
234
  /**
331
235
  * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
332
236
  * If you need to make changes here, also update the corresponding style in
@@ -2,26 +2,6 @@
2
2
  @repo/internal/deprecations/deprecation-ticket-required,
3
3
  @atlaskit/ui-styling-standard/no-exported-styles */
4
4
  import { css } from '@emotion/react';
5
- /**
6
- * Use when fg('platform_editor_typography_ugc') is disabled.
7
- */
8
- /**
9
- * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
10
- * If you need to make changes here, also update the corresponding style in
11
- * packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
12
- * See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
13
- */
14
- export const editorUGCTokensDefault = css({
15
- '--editor-font-ugc-token-heading-h1': 'normal 500 1.71429em/1.16667 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
16
- '--editor-font-ugc-token-heading-h2': 'normal 500 1.42857em/1.2 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
17
- '--editor-font-ugc-token-heading-h3': 'normal 600 1.14286em/1.25 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
18
- '--editor-font-ugc-token-heading-h4': 'normal 600 1em/1.14286 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
19
- '--editor-font-ugc-token-heading-h5': 'normal 600 0.857143em/1.33333 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
20
- '--editor-font-ugc-token-heading-h6': 'normal 700 0.785714em/1.45455 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
21
- '--editor-font-ugc-token-body': 'normal 400 1em/1.714 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
22
- '--editor-font-ugc-token-weight-heading-bold': '700'
23
- });
24
-
25
5
  /**
26
6
  * Use when fg('platform_editor_typography_ugc') is enabled, but the following are not enabled:
27
7
  * - fg('atlas_editor_typography_refreshed')
@@ -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 = "221.10.0";
3
+ export const version = "221.11.0";
@@ -54,8 +54,13 @@ var SecondChildWrapper = function SecondChildWrapper(_ref3) {
54
54
  var shouldShowToolbarContainer = function shouldShowToolbarContainer(toolbar, customPrimaryToolbarComponents) {
55
55
  return !!toolbar || !!customPrimaryToolbarComponents;
56
56
  };
57
- var getToolbarComponentsForMarkdownView = function getToolbarComponentsForMarkdownView(components, markdownModeView) {
57
+ var getToolbarComponentsForMarkdownView = function getToolbarComponentsForMarkdownView(components, markdownModeView, isConvertedMarkdownPreview) {
58
58
  if ((markdownModeView === 'syntax' || markdownModeView === 'preview') && fg('platform_editor_markdown_mode_hide_source_toolbar')) {
59
+ // Converted markdown live pages in preview should show full toolbar content
60
+ // so preference-based docking can work consistently.
61
+ if (isConvertedMarkdownPreview) {
62
+ return components;
63
+ }
59
64
  return components.filter(function (component) {
60
65
  return component.key === TOOLBARS.PRIMARY_TOOLBAR || component.key === VIEW_MODE_TOGGLE_SECTION.key;
61
66
  });
@@ -80,18 +85,22 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
80
85
  });
81
86
  var effectiveRuntimeOverride = runtimeOverride !== undefined && fg('platform_editor_toolbar_mode_override') ? runtimeOverride : undefined;
82
87
  var contextualFormattingEnabled = effectiveRuntimeOverride !== null && effectiveRuntimeOverride !== void 0 ? effectiveRuntimeOverride : editorAPI === null || editorAPI === void 0 || (_editorAPI$toolbar2 = editorAPI.toolbar) === null || _editorAPI$toolbar2 === void 0 ? void 0 : _editorAPI$toolbar2.actions.contextualFormattingMode();
83
- var markdownModeView = useSharedPluginStateWithSelector(editorAPI, ['markdownMode'], function (states) {
84
- var _states$markdownModeS;
85
- return (_states$markdownModeS = states.markdownModeState) === null || _states$markdownModeS === void 0 ? void 0 : _states$markdownModeS.view;
88
+ var markdownModeState = useSharedPluginStateWithSelector(editorAPI, ['markdownMode'], function (states) {
89
+ return states.markdownModeState;
86
90
  });
91
+ var isLivePage = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isLivePage;
92
+ var isMarkdownMode = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.isMarkdownMode;
93
+ var markdownModeView = markdownModeState === null || markdownModeState === void 0 ? void 0 : markdownModeState.view;
94
+ var isConvertedMarkdownPreview = isMarkdownMode === true && isLivePage === true && markdownModeView === 'preview' && fg('platform_editor_markdown_patch_m3');
87
95
  var intl = useIntl();
88
96
  var toolbar = components === null || components === void 0 ? void 0 : components.find(function (component) {
89
97
  return component.key === TOOLBARS.PRIMARY_TOOLBAR;
90
98
  });
91
99
  var visibleToolbarComponents = useMemo(function () {
92
- return components ? getToolbarComponentsForMarkdownView(components, markdownModeView) : undefined;
93
- }, [components, markdownModeView]);
94
- var primaryToolbarDockingConfigEnabled = shouldShowPrimaryToolbar(contextualFormattingEnabled, toolbarDockingPosition);
100
+ return components ? getToolbarComponentsForMarkdownView(components, markdownModeView, isConvertedMarkdownPreview) : undefined;
101
+ }, [components, markdownModeView, isConvertedMarkdownPreview]);
102
+ var effectiveContextualFormattingEnabled = isConvertedMarkdownPreview && contextualFormattingEnabled === 'always-pinned' ? 'controlled' : contextualFormattingEnabled;
103
+ var primaryToolbarDockingConfigEnabled = shouldShowPrimaryToolbar(effectiveContextualFormattingEnabled, toolbarDockingPosition);
95
104
 
96
105
  // When a toolbar portal context is provided, render the toolbar inside a portal.
97
106
  // Otherwise fall back to a fragment just to avoid forking rendering logic.
@@ -125,6 +134,9 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
125
134
  if (!isAwaitingToolbarComponents && !shouldShowToolbarContainer(toolbar, customPrimaryToolbarComponents)) {
126
135
  return /*#__PURE__*/React.createElement(ToolbarPortal, null, null);
127
136
  }
137
+ if (isConvertedMarkdownPreview && !primaryToolbarDockingConfigEnabled && !customPrimaryToolbarComponents) {
138
+ return /*#__PURE__*/React.createElement(ToolbarPortal, null, null);
139
+ }
128
140
  return /*#__PURE__*/React.createElement(ContextPanelConsumer, null, function (_ref6) {
129
141
  var ContextPanelWidth = _ref6.width;
130
142
  return /*#__PURE__*/React.createElement(ToolbarArrowKeyNavigationProvider, {