@atlaskit/editor-core 221.5.12 → 221.5.13
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 +9 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +17 -0
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +3 -1
- package/dist/cjs/ui/EditorContentContainer/styles/tableStyles.js +47 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +17 -0
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -2
- package/dist/es2019/ui/EditorContentContainer/styles/tableStyles.js +46 -0
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.compiled.css +17 -0
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +2 -1
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -2
- package/dist/esm/ui/EditorContentContainer/styles/tableStyles.js +46 -0
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/EditorContentContainer/styles/tableStyles.d.ts +7 -0
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 221.5.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`df00c17a7cb79`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df00c17a7cb79) -
|
|
8
|
+
Improve nested table sizing inside fit-to-content tables and snapshot the rendered table layout
|
|
9
|
+
during auto-conversion so the persisted parent table width matches the page-load view.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 221.5.12
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -518,6 +518,7 @@
|
|
|
518
518
|
._12xo17v8 .search-match-block.search-match-dark [data-smart-link-container=true]{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b)}
|
|
519
519
|
._12yq1osq .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2):after{height:100%}
|
|
520
520
|
._1305glyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
521
|
+
._130mvi1l .pm-table-wrapper:has(>table[data-initial-width-mode=content]){width:max-content!important}
|
|
521
522
|
._13201j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]:after{border-left-color:transparent}
|
|
522
523
|
._132p1k9k .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}
|
|
523
524
|
._133ckb7n .ProseMirror [data-layout-section]>*{flex-shrink:1}
|
|
@@ -636,6 +637,7 @@
|
|
|
636
637
|
._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
|
|
637
638
|
._15r21s89 .search-match-block.search-match-block-selected .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
638
639
|
._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
|
|
640
|
+
._15spidpf .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{margin-right:0}
|
|
639
641
|
._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
|
|
640
642
|
._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
|
|
641
643
|
._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
|
|
@@ -649,6 +651,7 @@
|
|
|
649
651
|
._1613yh40 .ProseMirror .ak-editor-annotation-draft{padding-bottom:2px}
|
|
650
652
|
._162914j0 [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:var(--ds-background-success-subtler,#d3f1a7)}
|
|
651
653
|
._16293uhp [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:#b3df72}
|
|
654
|
+
._162evi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{width:max-content!important}
|
|
652
655
|
._162zidpf .hyperlink-floating-toolbar{padding-left:0}
|
|
653
656
|
._168dt7xp .ProseMirror .ak-editor-annotation-hover{box-shadow:var(--ds-shadow-raised,0 1px 1px #1e1f2140,0 0 1px #1e1f214f)}
|
|
654
657
|
._16993mia .mediaSingleView-content-wrap span#caption-placeholder{font-size:var(--ak-editor-base-font-size)}
|
|
@@ -975,6 +978,7 @@
|
|
|
975
978
|
._1d9kt94y .ak-editor-expand.ak-editor-selected-node:not(.danger):after{width:1px}
|
|
976
979
|
._1d9u1tcg [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap{width:24px}
|
|
977
980
|
._1db9idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style){margin-top:0}
|
|
981
|
+
._1dcuglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{max-width:none}
|
|
978
982
|
._1ddmu2gc .ProseMirror .ak-editor-panel{padding-top:var(--ds-space-100,8px)}
|
|
979
983
|
._1de7idpf .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block{margin-top:0}
|
|
980
984
|
._1dh91osq .pm-breakout-resize-handle-rail{height:100%}
|
|
@@ -1126,6 +1130,7 @@
|
|
|
1126
1130
|
._1g5dr4us .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1127
1131
|
._1g5r1j28 .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}
|
|
1128
1132
|
._1g6m15vq .ak-editor-expand__content .nestedExpand-content-wrapper{overflow-y:hidden}
|
|
1133
|
+
._1g73261p .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table>colgroup>col{width:unset!important}
|
|
1129
1134
|
._1g77r5cr .resizer-handle-thumb:focus:after{left:var(--ds-space-negative-050,-4px)}
|
|
1130
1135
|
._1g92idpf .ProseMirror [data-layout-section] [data-layout-column]>div>:not(style):first-child{margin-top:0}
|
|
1131
1136
|
._1ga8idpf .ProseMirror [data-layout-section]>[data-layout-column]{margin-bottom:0}
|
|
@@ -1703,6 +1708,7 @@
|
|
|
1703
1708
|
._1td8idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{top:0}
|
|
1704
1709
|
._1td9bimv .extensionView-content-wrap.danger>span>.legacy-content-header{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1705
1710
|
._1tdl1i6y .fabric-background-color-mark:has(.background-color-padding-right){margin-right:var(--ds-space-negative-025,-2px)}
|
|
1711
|
+
._1tdlewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{overflow-x:visible}
|
|
1706
1712
|
._1tenidpf .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*{margin-top:0}
|
|
1707
1713
|
._1texusic .ProseMirror .ProseMirror-gapcursor[layout=wrap-right]{float:right}
|
|
1708
1714
|
._1tfl1j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -1752,6 +1758,7 @@
|
|
|
1752
1758
|
._1ubhidpf .ProseMirror .ak-editor-annotation-blur{padding-right:0}
|
|
1753
1759
|
._1ubpkb7n .pm-table-wrapper>table:after{z-index:1}
|
|
1754
1760
|
._1uc7m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+ol{clear:both!important}
|
|
1761
|
+
._1uciidpf .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{margin-right:0}
|
|
1755
1762
|
._1ucti7uo .editor-mention-primitive.mention-restricted{color:var(--ds-text,#292a2e)}
|
|
1756
1763
|
._1uddtdv8 .selected-search-match{background-color:var(--ds-background-accent-teal-subtle,#6cc3e0)}
|
|
1757
1764
|
._1ue41l2s .ProseMirror p:has(.placeholder-decoration-hide-overflow){text-overflow:ellipsis}
|
|
@@ -1945,6 +1952,7 @@
|
|
|
1945
1952
|
._1yqx1tmw .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
1946
1953
|
._1yqxibhp .ProseMirror .ak-editor-panel[data-panel-type=warning]{background-color:var(--ds-background-accent-yellow-subtlest,#fef7c8)}
|
|
1947
1954
|
._1ys91j28 .ProseMirror:has(.ProseMirror-gapcursor){caret-color:transparent}
|
|
1955
|
+
._1ysk1g3s .pm-table-wrapper:has(>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
1948
1956
|
._1yssoqnp [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
1949
1957
|
._1yvb1vek [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
1950
1958
|
._1yvx1j28 .pm-table-container>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -2277,6 +2285,7 @@
|
|
|
2277
2285
|
._8vye1ssb [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{left:50%}
|
|
2278
2286
|
._8vyeidpf .ProseMirror .pm-table-wrapper>table{margin-right:0}
|
|
2279
2287
|
._8wi61mi1 .ProseMirror .layoutSectionView-content-wrap:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2288
|
+
._8wilewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{overflow-x:visible}
|
|
2280
2289
|
._8wmvoqnp .ProseMirror li>style:first-child+p{margin-top:.75rem}
|
|
2281
2290
|
._8zqr2lzm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .code-block-content-wrapper{background-image:var(--ak-editor--table-overflow-shadow)}
|
|
2282
2291
|
._8zz2idpf .pm-table-container>table>tbody>tr>th{border-right-width:0}
|
|
@@ -2636,6 +2645,7 @@
|
|
|
2636
2645
|
._g5of1mi1 .ProseMirror [data-layout-section]:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2637
2646
|
._g5xu1j28 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}
|
|
2638
2647
|
._g62yutpp .pm-table-container>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2648
|
+
._g6ebvi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{width:max-content!important}
|
|
2639
2649
|
._g6l115s3 .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){background-color:var(--ds-background-selected,#e9f2fe)}
|
|
2640
2650
|
._g7u3dgkc .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258)}
|
|
2641
2651
|
._g7vh4jg8 div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:before{animation-direction:normal}
|
|
@@ -2690,6 +2700,7 @@
|
|
|
2690
2700
|
._h0b91j5o .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
2691
2701
|
._h1671vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2692
2702
|
._h2391jcr .search-match-block.search-match-dark.ak-editor-selected-node .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b),0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
2703
|
+
._h2quglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{max-width:none}
|
|
2693
2704
|
._h2zmazsu .mentionView-content-wrap.ak-editor-selected-node [data-mention-id]>span{color:var(--ds-text-subtle,#505258)}
|
|
2694
2705
|
._h3z91q9c [data-prosemirror-node-name=date] .date-lozenger-container span{white-space:nowrap}
|
|
2695
2706
|
._h4bbidpf .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style){margin-top:0}
|
|
@@ -2888,6 +2899,7 @@
|
|
|
2888
2899
|
._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
|
|
2889
2900
|
._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
|
|
2890
2901
|
._kyt0grf3 .ProseMirror li:has(>ul:only-child)>ul{margin-top:0!important}
|
|
2902
|
+
._kze5vi1l .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){width:max-content!important}
|
|
2891
2903
|
._kzf2h2mm [data-prosemirror-node-name=blockTaskItem] [data-component=task-item-main]{position:relative}
|
|
2892
2904
|
._l1qiidpf .ak-editor-panel.ak-editor-selected-node:not(.danger):before{top:0}
|
|
2893
2905
|
._l2nti7uo .ProseMirror h3{color:var(--ds-text,#292a2e)}
|
|
@@ -3085,6 +3097,7 @@
|
|
|
3085
3097
|
._p3lu1txw .richMedia-resize-handle-left{display:flex}
|
|
3086
3098
|
._p3p6usvi .gridLine{box-sizing:border-box}
|
|
3087
3099
|
._p4wq1osq [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{height:100%}
|
|
3100
|
+
._p73zglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{max-width:none}
|
|
3088
3101
|
._p8rdtlke .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){cursor:pointer}
|
|
3089
3102
|
._p96k1b66 .ProseMirror .ak-editor-bodied-sync-block.danger .ak-editor-sync-block__label{padding-bottom:var(--ds-space-050,4px)}
|
|
3090
3103
|
._pa0l15vq .ProseMirror p:has(.placeholder-decoration-hide-overflow){overflow-x:hidden}
|
|
@@ -3097,6 +3110,7 @@
|
|
|
3097
3110
|
._pfwgidpf .bodiedExtensionView-content-wrap .extension-container .bodiedExtension-content-inner-wrapper{padding-left:0}
|
|
3098
3111
|
._pg931osq{--ak-editor--breakout-min-width:100%}
|
|
3099
3112
|
._pgjg1j5o .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
3113
|
+
._pgryglyw .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{max-width:none}
|
|
3100
3114
|
._pgy3idpf .bodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
3101
3115
|
._phftrsbi{--local-border:var(--ds-border-input,#8c8f97)}
|
|
3102
3116
|
._phnn1rpy [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=placeholder]{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -3121,6 +3135,7 @@
|
|
|
3121
3135
|
._pp57mgjw .resizer-handle div[role=presentation]{margin-top:var(--ds-space-negative-200,-1pc)}
|
|
3122
3136
|
._prsvoskh .ProseMirror [data-layout-section] [data-empty-layout=true] [data-layout-column]:not(:first-of-type) [data-layout-content]:before{height:calc(100% - 24px)}
|
|
3123
3137
|
._pru0idpf .ProseMirror [data-layout-section] [data-layout-column]>div .mediaSingleView-content-wrap[layout^=wrap]:has(+.mediaSingleView-content-wrap[layout^=wrap]) .rich-media-item{margin-top:0}
|
|
3138
|
+
._pru7vi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{width:max-content!important}
|
|
3124
3139
|
._prvjh2mm .ak-editor-panel.ak-editor-selected-node:not(.danger){position:relative}
|
|
3125
3140
|
._ps8p1o8l .ProseMirror .emojiView-content-wrap{display:inline-block}
|
|
3126
3141
|
._ptek1n1a .bodiedExtensionView-content-wrap .bodiedExtension-content-outer-wrapper{margin-bottom:-1px}
|
|
@@ -3333,10 +3348,12 @@
|
|
|
3333
3348
|
._u6kkutpp .pm-breakout-resize-handle-thumb{top:var(--ds-space-150,9pt)}
|
|
3334
3349
|
._u7fhtlke .statusView-content-wrap>span{cursor:pointer}
|
|
3335
3350
|
._u854iro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
3351
|
+
._u8ab1g3s .resizer-item:has(table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3336
3352
|
._u8en3mia .ProseMirror{font-size:var(--ak-editor-base-font-size)}
|
|
3337
3353
|
._u96x1ial .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{z-index:12}
|
|
3338
3354
|
._uazj1k8s .ProseMirror .code-block .line-number-gutter:before{line-height:1.5rem}
|
|
3339
3355
|
._ubim1n1a .ak-editor-selected-node.unsupportedBlockView-content-wrap>div:after{right:-1px}
|
|
3356
|
+
._ubzd1g3s .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3340
3357
|
._ucdskb7n [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=content]{flex-shrink:1}
|
|
3341
3358
|
._uck94pcx .ProseMirror .ak-editor-panel[data-panel-type=tip] .ak-editor-panel__icon[data-panel-type=tip]{color:var(--ds-icon-success,#6a9a23)}
|
|
3342
3359
|
._ucr81j28 .multiBodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.multiBodiedExtension--container ::-moz-selection{background-color:transparent}
|
|
@@ -305,6 +305,7 @@ var editorContentStyles = {
|
|
|
305
305
|
tableCommentEditorStyles: "_s9qz1mok _1quk1aqn _1tb2idpf _8vyeidpf _1igzolhs _ux48glyw _giavsm61 _axu71ibz",
|
|
306
306
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
307
307
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
308
|
+
tableContentModeNestedTableStyles: "_pgryglyw _15spidpf _kze5vi1l _130mvi1l _9loxvi1l _ubzd1g3s _1ysk1g3s _u8ab1g3s _162evi1l _1dcuglyw _1uciidpf _1g73261p _g6ebvi1l _pru7vi1l _h2quglyw _p73zglyw _8wilewfl _1tdlewfl",
|
|
308
309
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
309
310
|
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
310
311
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
@@ -389,7 +390,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
|
|
|
389
390
|
}) && editorContentStyles.textSelectedNodeStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? editorContentStyles.blocktypeStyles_fg_platform_editor_typography_ugc : editorContentStyles.blocktypeStyles_without_fg_platform_editor_typography_ugc, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.blocktypeStyles_fg_platform_editor_nested_dnd_styles_changes, editorContentStyles.codeMarkStyles, (0, _expValEquals.expValEquals)('platform_editor_a11y_scrollable_region', 'isEnabled', true) && editorContentStyles.codeMarkStylesA11yFix, editorContentStyles.textColorStyles, editorContentStyles.backgroundColorStyles, !(0, _expValEquals.expValEquals)('platform_editor_lovability_text_bg_color', 'isEnabled', true) && editorContentStyles.highlightLinksUnsetStyles, editorContentStyles.textHighlightPaddingStyles, editorContentStyles.listsStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_flexible_list_schema', 'isEnabled', true) && editorContentStyles.listItemHiddenMarkerStyles, editorContentStyles.diffListStyles, contentMode === 'compact' && isDense && editorContentStyles.listsDenseStyles, isFullPage && editorContentStyles.listsStylesMarginLayoutShiftFix, editorContentStyles.ruleStyles, editorContentStyles.smartCardDiffStyles, (0, _expValEquals.expValEquals)('platform_editor_enghealth_a11y_jan_fixes', 'isEnabled', true) ? editorContentStyles.showDiffDeletedNodeStylesNew : editorContentStyles.showDiffDeletedNodeStyles, editorContentStyles.mediaStyles, contentMode === 'compact' && editorContentStyles.mediaCaptionStyles, (0, _platformFeatureFlags.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 */
|
|
390
391
|
editorContentStyles.telepointerColorAndCommonStyle, editorContentStyles.gapCursorStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.gapCursorStylesVisibilityFix, editorContentStyles.panelStyles, editorContentStyles.nestedPanelBorderStylesMixin, (0, _platformFeatureFlags.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, (0, _expValEquals.expValEquals)('platform_editor_bodiedextension_layoutshift_fix', 'isEnabled', true) && editorContentStyles.bodiedExtensionLayoutShiftFix, editorContentStyles.extensionDiffStyles, editorContentStyles.expandStylesBase, !useStandardNodeWidth && editorContentStyles.expandStyles, contentMode === 'compact' && isDense && editorContentStyles.expandDenseStyles, (0, _platformFeatureFlags.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, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.findReplaceStylesNewWithA11Y : editorContentStyles.findReplaceStyles, (0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesNewWithCodeblockColorContrastFix, !(0, _expValEquals.expValEquals)('platform_editor_find_and_replace_improvements', 'isEnabled', true) && editorContentStyles.findReplaceStylesWithCodeblockColorContrastFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.findReplaceStylesWithRefSyncBlock, editorContentStyles.textHighlightStyle, editorContentStyles.decisionStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_blocktaskitem_node_tenantid', 'isEnabled', true) ? editorContentStyles.taskItemStylesWithBlockTaskItem : editorContentStyles.taskItemStyles, editorContentStyles.taskItemCheckboxStyles, editorContentStyles.decisionIconWithVisualRefresh, editorContentStyles.statusStyles, (0, _platformFeatureFlags.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? editorContentStyles.statusStylesTeam26 : (0, _platformFeatureFlags.fg)('platform-component-visual-refresh') ? (0, _expValEqualsNoExposure.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 : (0, _expValEqualsNoExposure.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' && (0, _platformFeatureFlags.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') && editorContentStyles.statusStylesTeam26DarkMode, editorContentStyles.annotationStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? (0, _experiments.editorExperiment)('platform_editor_block_menu', true) ? editorContentStyles.smartCardStylesWithSearchMatchAndBlockMenuDangerStyles : editorContentStyles.smartCardStylesWithSearchMatch : editorContentStyles.smartCardStyles, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && editorContentStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') || (0, _experiments.editorExperiment)('platform_editor_preview_panel_linking_exp', true)) && editorContentStyles.editorControlsSmartCardStyles, editorContentStyles.embedCardStyles, editorContentStyles.unsupportedStyles, editorContentStyles.resizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('cc-maui-experiment', 'isEnabled', true) && (0, _expValEquals.expValEquals)('databases-native-embeds-v2', 'isEnabled', true) && editorContentStyles.resizerBottomHandleStyles, editorContentStyles.layoutBaseStyles, (0, _expValEquals.expValEquals)('platform_editor_table_excerpts_fix', 'isEnabled', true) && editorContentStyles.layoutBaseStylesWithTableExcerptsFix, (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && editorContentStyles.alignMultipleWrappedImageInLayoutStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockStylesBase, (0, _experiments.editorExperiment)('platform_synced_block', true) &&
|
|
391
392
|
// Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
|
|
392
|
-
!useStandardNodeWidth && editorContentStyles.syncBlockStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !(0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && !(0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.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' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, 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, (0, _expValEquals.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, (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, _platformFeatureFlags.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) && (0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
393
|
+
!useStandardNodeWidth && editorContentStyles.syncBlockStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockOverflowStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.syncBlockFirstNodeStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_synced_block_patch_14') && editorContentStyles.syncBlockTextSelectionStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutBaseStylesAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSectionStylesAdvanced : editorContentStyles.layoutSectionStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnDividerStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutColumnDividerStylesNestedDnD, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutColumnStylesAdvanced : editorContentStyles.layoutColumnStylesNotAdvanced, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _experiments.editorExperiment)('platform_editor_layout_column_resize_handle', true) && editorContentStyles.layoutColumnResizeStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) ? editorContentStyles.layoutSelectedStylesAdvanced : editorContentStyles.layoutSelectedStylesNotAdvanced, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.layoutSelectedStylesAdvancedFix, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutColumnResponsiveStyles, (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveBaseStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFGExcludingBodiedSync, !(0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') && editorContentStyles.layoutBaseStylesFixesUnderNestedDnDFG, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.layoutColumnMartinTopFixesNew : editorContentStyles.layoutColumnMartinTopFixesOld, editorContentStyles.smartLinksInLivePagesStyles, editorContentStyles.linkingVisualRefreshV1Styles, editorContentStyles.dateVanillaStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? contentMode === 'compact' ? editorContentStyles.paragraphStylesWithScaledMargin : editorContentStyles.paragraphStylesUGCRefreshed : contentMode === 'compact' ? editorContentStyles.paragraphStylesOldWithScaledMargin : editorContentStyles.paragraphStylesOld, editorContentStyles.linkStyles, browser.safari && editorContentStyles.listsStylesSafariFix, (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesSyncedBlock, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_lovability_resize_dividers_panels', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesPanelAndRule, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && (0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockSyncedBlockPatch, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && !(0, _experiments.editorExperiment)('platform_synced_block', true) && editorContentStyles.pragmaticResizerStylesCodeBlockLegacy, (0, _experiments.editorExperiment)('advanced_layouts', true) && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticStylesLayoutFirstNodeResizeHandleFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) && editorContentStyles.pragmaticResizerStylesForTooltip, (0, _experiments.editorExperiment)('platform_editor_preview_panel_responsiveness', true) && ((0, _experiments.editorExperiment)('advanced_layouts', true) || (0, _expValEqualsNoExposure.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' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutSelectedStylesForViewAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', false) && editorContentStyles.layoutSelectedStylesForViewNotAdvanced, viewMode === 'view' && (0, _experiments.editorExperiment)('advanced_layouts', true) && editorContentStyles.layoutResponsiveStylesForView, isComment && editorContentStyles.commentEditorStyles, isComment && editorContentStyles.tableCommentEditorStyles, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, editorContentStyles.mentionNodeStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_find_and_replace_improvements', 'isEnabled', true) ? editorContentStyles.mentionsSelectionStylesWithSearchMatch : editorContentStyles.mentionsSelectionStyles, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? editorContentStyles.scaledEmojiStyles : editorContentStyles.emojiStyles, 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, (0, _expValEquals.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, (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, _platformFeatureFlags.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) && (0, _platformFeatureFlags.fg)('platform_editor_table_q4_patch_1') && editorContentStyles.tableRoundedCornerStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && editorContentStyles.tableContentModeStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_nested_renderer_fix') && editorContentStyles.tableContentModeNestedTableStyles, editorContentStyles.hyperLinkFloatingToolbarStyles, editorContentStyles.selectionToolbarAnimationStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.blockquoteDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.textDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.listDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerDateStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.emojiDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mentionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.decisionDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.statusDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.dangerRuleStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.mediaDangerStyles, (0, _experiments.editorExperiment)('platform_editor_block_menu', true) && editorContentStyles.nestedPanelDangerStyles, className || undefined]),
|
|
393
394
|
ref: ref,
|
|
394
395
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
395
396
|
"data-testid": "editor-content-container"
|
|
@@ -534,7 +534,9 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
|
|
|
534
534
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
535
535
|
(0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
536
536
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
537
|
-
_tableStyles.tableContentModeStyles,
|
|
537
|
+
_tableStyles.tableContentModeStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && (0, _platformFeatureFlags.fg)('platform_editor_table_nested_renderer_fix') &&
|
|
538
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
|
+
_tableStyles.tableContentModeNestedTableStyles,
|
|
538
540
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
541
|
_link.hyperLinkFloatingToolbarStyles,
|
|
540
542
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -4,7 +4,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.tableRoundedCornerStyles = exports.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContentModeStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
7
|
+
exports.tableRoundedCornerStyles = exports.tableLayoutFixesWithFontSize = exports.tableLayoutFixes = exports.tableEmptyRowStyles = exports.tableContentModeStyles = exports.tableContentModeNestedTableStyles = exports.tableContainerStyles = exports.tableCommentEditorStyles = exports.tableCommentEditorMarginOverride = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _scrollbarStyles = require("./scrollbarStyles");
|
|
@@ -160,6 +160,52 @@ var tableContentModeStyles = exports.tableContentModeStyles = (0, _react.css)({
|
|
|
160
160
|
width: 'unset !important'
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
166
|
+
* If you need to make changes here, also update the corresponding style in
|
|
167
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
168
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
169
|
+
*/
|
|
170
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
171
|
+
var tableContentModeNestedTableStyles = exports.tableContentModeNestedTableStyles = (0, _react.css)({
|
|
172
|
+
// Reset the base `margin-right: -1px` (ED-16212) that clips content-mode tables by 1px.
|
|
173
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
174
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
175
|
+
maxWidth: 'none',
|
|
176
|
+
marginRight: 0
|
|
177
|
+
},
|
|
178
|
+
// Let the resizer/wrapper chain grow to content width before the max-width cap.
|
|
179
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
180
|
+
'.resizer-item:has(table[data-initial-width-mode="content"]), .pm-table-container:has(> .pm-table-wrapper > table[data-initial-width-mode="content"]), .pm-table-wrapper:has(> table[data-initial-width-mode="content"])': {
|
|
181
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
182
|
+
width: 'max-content !important',
|
|
183
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
184
|
+
maxWidth: 'var(--ak-editor-table-max-width) !important'
|
|
185
|
+
},
|
|
186
|
+
// Nested content-mode table: size to content, reset base max-width and margin.
|
|
187
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
188
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table': {
|
|
189
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
190
|
+
width: 'max-content !important',
|
|
191
|
+
maxWidth: 'none',
|
|
192
|
+
marginRight: 0
|
|
193
|
+
},
|
|
194
|
+
// Stop nested table col widths from constraining parent table measurement.
|
|
195
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
196
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table > colgroup > col': {
|
|
197
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
198
|
+
width: 'unset !important'
|
|
199
|
+
},
|
|
200
|
+
// Let the nested table container/wrapper grow to content width before the cap.
|
|
201
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
202
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container, .ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper': {
|
|
203
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
204
|
+
width: 'max-content !important',
|
|
205
|
+
maxWidth: 'none',
|
|
206
|
+
overflowX: 'visible'
|
|
207
|
+
}
|
|
208
|
+
});
|
|
163
209
|
/**
|
|
164
210
|
* SSR-safe rounded corners for the outermost table cells.
|
|
165
211
|
*
|
|
@@ -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 = "221.5.
|
|
9
|
+
var version = exports.version = "221.5.12";
|
|
@@ -518,6 +518,7 @@
|
|
|
518
518
|
._12xo17v8 .search-match-block.search-match-dark [data-smart-link-container=true]{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b)}
|
|
519
519
|
._12yq1osq .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2):after{height:100%}
|
|
520
520
|
._1305glyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
521
|
+
._130mvi1l .pm-table-wrapper:has(>table[data-initial-width-mode=content]){width:max-content!important}
|
|
521
522
|
._13201j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]:after{border-left-color:transparent}
|
|
522
523
|
._132p1k9k .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}
|
|
523
524
|
._133ckb7n .ProseMirror [data-layout-section]>*{flex-shrink:1}
|
|
@@ -636,6 +637,7 @@
|
|
|
636
637
|
._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
|
|
637
638
|
._15r21s89 .search-match-block.search-match-block-selected .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
638
639
|
._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
|
|
640
|
+
._15spidpf .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{margin-right:0}
|
|
639
641
|
._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
|
|
640
642
|
._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
|
|
641
643
|
._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
|
|
@@ -649,6 +651,7 @@
|
|
|
649
651
|
._1613yh40 .ProseMirror .ak-editor-annotation-draft{padding-bottom:2px}
|
|
650
652
|
._162914j0 [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:var(--ds-background-success-subtler,#d3f1a7)}
|
|
651
653
|
._16293uhp [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:#b3df72}
|
|
654
|
+
._162evi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{width:max-content!important}
|
|
652
655
|
._162zidpf .hyperlink-floating-toolbar{padding-left:0}
|
|
653
656
|
._168dt7xp .ProseMirror .ak-editor-annotation-hover{box-shadow:var(--ds-shadow-raised,0 1px 1px #1e1f2140,0 0 1px #1e1f214f)}
|
|
654
657
|
._16993mia .mediaSingleView-content-wrap span#caption-placeholder{font-size:var(--ak-editor-base-font-size)}
|
|
@@ -975,6 +978,7 @@
|
|
|
975
978
|
._1d9kt94y .ak-editor-expand.ak-editor-selected-node:not(.danger):after{width:1px}
|
|
976
979
|
._1d9u1tcg [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap{width:24px}
|
|
977
980
|
._1db9idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style){margin-top:0}
|
|
981
|
+
._1dcuglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{max-width:none}
|
|
978
982
|
._1ddmu2gc .ProseMirror .ak-editor-panel{padding-top:var(--ds-space-100,8px)}
|
|
979
983
|
._1de7idpf .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block{margin-top:0}
|
|
980
984
|
._1dh91osq .pm-breakout-resize-handle-rail{height:100%}
|
|
@@ -1126,6 +1130,7 @@
|
|
|
1126
1130
|
._1g5dr4us .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1127
1131
|
._1g5r1j28 .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}
|
|
1128
1132
|
._1g6m15vq .ak-editor-expand__content .nestedExpand-content-wrapper{overflow-y:hidden}
|
|
1133
|
+
._1g73261p .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table>colgroup>col{width:unset!important}
|
|
1129
1134
|
._1g77r5cr .resizer-handle-thumb:focus:after{left:var(--ds-space-negative-050,-4px)}
|
|
1130
1135
|
._1g92idpf .ProseMirror [data-layout-section] [data-layout-column]>div>:not(style):first-child{margin-top:0}
|
|
1131
1136
|
._1ga8idpf .ProseMirror [data-layout-section]>[data-layout-column]{margin-bottom:0}
|
|
@@ -1703,6 +1708,7 @@
|
|
|
1703
1708
|
._1td8idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{top:0}
|
|
1704
1709
|
._1td9bimv .extensionView-content-wrap.danger>span>.legacy-content-header{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1705
1710
|
._1tdl1i6y .fabric-background-color-mark:has(.background-color-padding-right){margin-right:var(--ds-space-negative-025,-2px)}
|
|
1711
|
+
._1tdlewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{overflow-x:visible}
|
|
1706
1712
|
._1tenidpf .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*{margin-top:0}
|
|
1707
1713
|
._1texusic .ProseMirror .ProseMirror-gapcursor[layout=wrap-right]{float:right}
|
|
1708
1714
|
._1tfl1j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -1752,6 +1758,7 @@
|
|
|
1752
1758
|
._1ubhidpf .ProseMirror .ak-editor-annotation-blur{padding-right:0}
|
|
1753
1759
|
._1ubpkb7n .pm-table-wrapper>table:after{z-index:1}
|
|
1754
1760
|
._1uc7m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+ol{clear:both!important}
|
|
1761
|
+
._1uciidpf .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{margin-right:0}
|
|
1755
1762
|
._1ucti7uo .editor-mention-primitive.mention-restricted{color:var(--ds-text,#292a2e)}
|
|
1756
1763
|
._1uddtdv8 .selected-search-match{background-color:var(--ds-background-accent-teal-subtle,#6cc3e0)}
|
|
1757
1764
|
._1ue41l2s .ProseMirror p:has(.placeholder-decoration-hide-overflow){text-overflow:ellipsis}
|
|
@@ -1945,6 +1952,7 @@
|
|
|
1945
1952
|
._1yqx1tmw .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
1946
1953
|
._1yqxibhp .ProseMirror .ak-editor-panel[data-panel-type=warning]{background-color:var(--ds-background-accent-yellow-subtlest,#fef7c8)}
|
|
1947
1954
|
._1ys91j28 .ProseMirror:has(.ProseMirror-gapcursor){caret-color:transparent}
|
|
1955
|
+
._1ysk1g3s .pm-table-wrapper:has(>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
1948
1956
|
._1yssoqnp [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
1949
1957
|
._1yvb1vek [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
1950
1958
|
._1yvx1j28 .pm-table-container>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -2277,6 +2285,7 @@
|
|
|
2277
2285
|
._8vye1ssb [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{left:50%}
|
|
2278
2286
|
._8vyeidpf .ProseMirror .pm-table-wrapper>table{margin-right:0}
|
|
2279
2287
|
._8wi61mi1 .ProseMirror .layoutSectionView-content-wrap:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2288
|
+
._8wilewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{overflow-x:visible}
|
|
2280
2289
|
._8wmvoqnp .ProseMirror li>style:first-child+p{margin-top:.75rem}
|
|
2281
2290
|
._8zqr2lzm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .code-block-content-wrapper{background-image:var(--ak-editor--table-overflow-shadow)}
|
|
2282
2291
|
._8zz2idpf .pm-table-container>table>tbody>tr>th{border-right-width:0}
|
|
@@ -2636,6 +2645,7 @@
|
|
|
2636
2645
|
._g5of1mi1 .ProseMirror [data-layout-section]:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2637
2646
|
._g5xu1j28 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}
|
|
2638
2647
|
._g62yutpp .pm-table-container>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2648
|
+
._g6ebvi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{width:max-content!important}
|
|
2639
2649
|
._g6l115s3 .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){background-color:var(--ds-background-selected,#e9f2fe)}
|
|
2640
2650
|
._g7u3dgkc .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258)}
|
|
2641
2651
|
._g7vh4jg8 div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:before{animation-direction:normal}
|
|
@@ -2690,6 +2700,7 @@
|
|
|
2690
2700
|
._h0b91j5o .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
2691
2701
|
._h1671vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2692
2702
|
._h2391jcr .search-match-block.search-match-dark.ak-editor-selected-node .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b),0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
2703
|
+
._h2quglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{max-width:none}
|
|
2693
2704
|
._h2zmazsu .mentionView-content-wrap.ak-editor-selected-node [data-mention-id]>span{color:var(--ds-text-subtle,#505258)}
|
|
2694
2705
|
._h3z91q9c [data-prosemirror-node-name=date] .date-lozenger-container span{white-space:nowrap}
|
|
2695
2706
|
._h4bbidpf .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style){margin-top:0}
|
|
@@ -2888,6 +2899,7 @@
|
|
|
2888
2899
|
._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
|
|
2889
2900
|
._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
|
|
2890
2901
|
._kyt0grf3 .ProseMirror li:has(>ul:only-child)>ul{margin-top:0!important}
|
|
2902
|
+
._kze5vi1l .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){width:max-content!important}
|
|
2891
2903
|
._kzf2h2mm [data-prosemirror-node-name=blockTaskItem] [data-component=task-item-main]{position:relative}
|
|
2892
2904
|
._l1qiidpf .ak-editor-panel.ak-editor-selected-node:not(.danger):before{top:0}
|
|
2893
2905
|
._l2nti7uo .ProseMirror h3{color:var(--ds-text,#292a2e)}
|
|
@@ -3085,6 +3097,7 @@
|
|
|
3085
3097
|
._p3lu1txw .richMedia-resize-handle-left{display:flex}
|
|
3086
3098
|
._p3p6usvi .gridLine{box-sizing:border-box}
|
|
3087
3099
|
._p4wq1osq [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{height:100%}
|
|
3100
|
+
._p73zglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{max-width:none}
|
|
3088
3101
|
._p8rdtlke .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){cursor:pointer}
|
|
3089
3102
|
._p96k1b66 .ProseMirror .ak-editor-bodied-sync-block.danger .ak-editor-sync-block__label{padding-bottom:var(--ds-space-050,4px)}
|
|
3090
3103
|
._pa0l15vq .ProseMirror p:has(.placeholder-decoration-hide-overflow){overflow-x:hidden}
|
|
@@ -3097,6 +3110,7 @@
|
|
|
3097
3110
|
._pfwgidpf .bodiedExtensionView-content-wrap .extension-container .bodiedExtension-content-inner-wrapper{padding-left:0}
|
|
3098
3111
|
._pg931osq{--ak-editor--breakout-min-width:100%}
|
|
3099
3112
|
._pgjg1j5o .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
3113
|
+
._pgryglyw .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{max-width:none}
|
|
3100
3114
|
._pgy3idpf .bodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
3101
3115
|
._phftrsbi{--local-border:var(--ds-border-input,#8c8f97)}
|
|
3102
3116
|
._phnn1rpy [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=placeholder]{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -3121,6 +3135,7 @@
|
|
|
3121
3135
|
._pp57mgjw .resizer-handle div[role=presentation]{margin-top:var(--ds-space-negative-200,-1pc)}
|
|
3122
3136
|
._prsvoskh .ProseMirror [data-layout-section] [data-empty-layout=true] [data-layout-column]:not(:first-of-type) [data-layout-content]:before{height:calc(100% - 24px)}
|
|
3123
3137
|
._pru0idpf .ProseMirror [data-layout-section] [data-layout-column]>div .mediaSingleView-content-wrap[layout^=wrap]:has(+.mediaSingleView-content-wrap[layout^=wrap]) .rich-media-item{margin-top:0}
|
|
3138
|
+
._pru7vi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{width:max-content!important}
|
|
3124
3139
|
._prvjh2mm .ak-editor-panel.ak-editor-selected-node:not(.danger){position:relative}
|
|
3125
3140
|
._ps8p1o8l .ProseMirror .emojiView-content-wrap{display:inline-block}
|
|
3126
3141
|
._ptek1n1a .bodiedExtensionView-content-wrap .bodiedExtension-content-outer-wrapper{margin-bottom:-1px}
|
|
@@ -3333,10 +3348,12 @@
|
|
|
3333
3348
|
._u6kkutpp .pm-breakout-resize-handle-thumb{top:var(--ds-space-150,9pt)}
|
|
3334
3349
|
._u7fhtlke .statusView-content-wrap>span{cursor:pointer}
|
|
3335
3350
|
._u854iro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
3351
|
+
._u8ab1g3s .resizer-item:has(table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3336
3352
|
._u8en3mia .ProseMirror{font-size:var(--ak-editor-base-font-size)}
|
|
3337
3353
|
._u96x1ial .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{z-index:12}
|
|
3338
3354
|
._uazj1k8s .ProseMirror .code-block .line-number-gutter:before{line-height:1.5rem}
|
|
3339
3355
|
._ubim1n1a .ak-editor-selected-node.unsupportedBlockView-content-wrap>div:after{right:-1px}
|
|
3356
|
+
._ubzd1g3s .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3340
3357
|
._ucdskb7n [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=content]{flex-shrink:1}
|
|
3341
3358
|
._uck94pcx .ProseMirror .ak-editor-panel[data-panel-type=tip] .ak-editor-panel__icon[data-panel-type=tip]{color:var(--ds-icon-success,#6a9a23)}
|
|
3342
3359
|
._ucr81j28 .multiBodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.multiBodiedExtension--container ::-moz-selection{background-color:transparent}
|
|
@@ -356,6 +356,7 @@ const editorContentStyles = {
|
|
|
356
356
|
tableCommentEditorStyles: "_s9qz1mok _1quk1aqn _1tb2idpf _8vyeidpf _1igzolhs _ux48glyw _giavsm61 _axu71ibz",
|
|
357
357
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
358
358
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
359
|
+
tableContentModeNestedTableStyles: "_pgryglyw _15spidpf _kze5vi1l _130mvi1l _9loxvi1l _ubzd1g3s _1ysk1g3s _u8ab1g3s _162evi1l _1dcuglyw _1uciidpf _1g73261p _g6ebvi1l _pru7vi1l _h2quglyw _p73zglyw _8wilewfl _1tdlewfl",
|
|
359
360
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
360
361
|
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
361
362
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
@@ -445,7 +446,7 @@ export const EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef((pro
|
|
|
445
446
|
}) && 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 */
|
|
446
447
|
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) &&
|
|
447
448
|
// Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
|
|
448
|
-
!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, 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, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, 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, 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, className || undefined]),
|
|
449
|
+
!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, 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, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, 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, className || undefined]),
|
|
449
450
|
ref: ref,
|
|
450
451
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
451
452
|
"data-testid": "editor-content-container"
|
|
@@ -58,7 +58,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
58
58
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
59
59
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
60
60
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles, syncBlockTextSelectionStyles } from './styles/syncBlockStyles';
|
|
61
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
61
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles, tableContentModeNestedTableStyles } from './styles/tableStyles';
|
|
62
62
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
63
63
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
64
64
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -538,7 +538,9 @@ export const EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef((prop
|
|
|
538
538
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
539
539
|
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
540
540
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
541
|
-
tableContentModeStyles,
|
|
541
|
+
tableContentModeStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') &&
|
|
542
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
543
|
+
tableContentModeNestedTableStyles,
|
|
542
544
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
543
545
|
hyperLinkFloatingToolbarStyles,
|
|
544
546
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -155,6 +155,52 @@ export const tableContentModeStyles = css({
|
|
|
155
155
|
width: 'unset !important'
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
161
|
+
* If you need to make changes here, also update the corresponding style in
|
|
162
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
163
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
164
|
+
*/
|
|
165
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
166
|
+
export const tableContentModeNestedTableStyles = css({
|
|
167
|
+
// Reset the base `margin-right: -1px` (ED-16212) that clips content-mode tables by 1px.
|
|
168
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
169
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
170
|
+
maxWidth: 'none',
|
|
171
|
+
marginRight: 0
|
|
172
|
+
},
|
|
173
|
+
// Let the resizer/wrapper chain grow to content width before the max-width cap.
|
|
174
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
175
|
+
'.resizer-item:has(table[data-initial-width-mode="content"]), .pm-table-container:has(> .pm-table-wrapper > table[data-initial-width-mode="content"]), .pm-table-wrapper:has(> table[data-initial-width-mode="content"])': {
|
|
176
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
177
|
+
width: 'max-content !important',
|
|
178
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
179
|
+
maxWidth: 'var(--ak-editor-table-max-width) !important'
|
|
180
|
+
},
|
|
181
|
+
// Nested content-mode table: size to content, reset base max-width and margin.
|
|
182
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
183
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table': {
|
|
184
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
185
|
+
width: 'max-content !important',
|
|
186
|
+
maxWidth: 'none',
|
|
187
|
+
marginRight: 0
|
|
188
|
+
},
|
|
189
|
+
// Stop nested table col widths from constraining parent table measurement.
|
|
190
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
191
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table > colgroup > col': {
|
|
192
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
193
|
+
width: 'unset !important'
|
|
194
|
+
},
|
|
195
|
+
// Let the nested table container/wrapper grow to content width before the cap.
|
|
196
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
197
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container, .ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper': {
|
|
198
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
199
|
+
width: 'max-content !important',
|
|
200
|
+
maxWidth: 'none',
|
|
201
|
+
overflowX: 'visible'
|
|
202
|
+
}
|
|
203
|
+
});
|
|
158
204
|
/**
|
|
159
205
|
* SSR-safe rounded corners for the outermost table cells.
|
|
160
206
|
*
|
|
@@ -518,6 +518,7 @@
|
|
|
518
518
|
._12xo17v8 .search-match-block.search-match-dark [data-smart-link-container=true]{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b)}
|
|
519
519
|
._12yq1osq .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2):after{height:100%}
|
|
520
520
|
._1305glyw .ProseMirror .ak-editor-panel .ak-editor-panel__icon{-webkit-user-select:none;-ms-user-select:none;user-select:none}
|
|
521
|
+
._130mvi1l .pm-table-wrapper:has(>table[data-initial-width-mode=content]){width:max-content!important}
|
|
521
522
|
._13201j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]:after{border-left-color:transparent}
|
|
522
523
|
._132p1k9k .ProseMirror ol[data-indent-level="5"]{list-style-type:lower-alpha}
|
|
523
524
|
._133ckb7n .ProseMirror [data-layout-section]>*{flex-shrink:1}
|
|
@@ -636,6 +637,7 @@
|
|
|
636
637
|
._15q4m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+div[class^=fabric-editor-align]{clear:both!important}
|
|
637
638
|
._15r21s89 .search-match-block.search-match-block-selected .loader-wrapper>a{box-shadow:0 0 0 4px var(--ds-background-accent-magenta-subtlest-pressed,#fcb6e1),0 0 0 5px var(--ds-background-accent-magenta-bolder-hovered,#943d73)}
|
|
638
639
|
._15sh1bp4 .ProseMirror [data-layout-section] [data-layout-column][data-valign=bottom]>[data-layout-content]{flex-direction:column}
|
|
640
|
+
._15spidpf .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{margin-right:0}
|
|
639
641
|
._15t1i7a9 .pm-table-sticky-wrapper>table>tbody>tr>td{font-weight:var(--ds-font-weight-regular,400)}
|
|
640
642
|
._15uri7a9 .ak-editor-expand__title-input{font-weight:var(--ds-font-weight-regular,400)}
|
|
641
643
|
._15ve1gly .ProseMirror .danger .code-block .line-number-gutter{background-color:var(--ds-background-danger,#ffeceb)}
|
|
@@ -649,6 +651,7 @@
|
|
|
649
651
|
._1613yh40 .ProseMirror .ak-editor-annotation-draft{padding-bottom:2px}
|
|
650
652
|
._162914j0 [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:var(--ds-background-success-subtler,#d3f1a7)}
|
|
651
653
|
._16293uhp [data-prosemirror-node-name=status]>[data-color=green]>.lozenge-wrapper{background-color:#b3df72}
|
|
654
|
+
._162evi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{width:max-content!important}
|
|
652
655
|
._162zidpf .hyperlink-floating-toolbar{padding-left:0}
|
|
653
656
|
._168dt7xp .ProseMirror .ak-editor-annotation-hover{box-shadow:var(--ds-shadow-raised,0 1px 1px #1e1f2140,0 0 1px #1e1f214f)}
|
|
654
657
|
._16993mia .mediaSingleView-content-wrap span#caption-placeholder{font-size:var(--ak-editor-base-font-size)}
|
|
@@ -975,6 +978,7 @@
|
|
|
975
978
|
._1d9kt94y .ak-editor-expand.ak-editor-selected-node:not(.danger):after{width:1px}
|
|
976
979
|
._1d9u1tcg [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap{width:24px}
|
|
977
980
|
._1db9idpf .ProseMirror .fabric-editor-indentation-mark:first-of-type:first-child h3:first-child:not(style){margin-top:0}
|
|
981
|
+
._1dcuglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{max-width:none}
|
|
978
982
|
._1ddmu2gc .ProseMirror .ak-editor-panel{padding-top:var(--ds-space-100,8px)}
|
|
979
983
|
._1de7idpf .ProseMirror li>.ProseMirror-gapcursor:first-child+.code-block{margin-top:0}
|
|
980
984
|
._1dh91osq .pm-breakout-resize-handle-rail{height:100%}
|
|
@@ -1126,6 +1130,7 @@
|
|
|
1126
1130
|
._1g5dr4us .extensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.extension-container{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
1127
1131
|
._1g5r1j28 .ProseMirror .ak-editor-selected-node .emoji-common-emoji-sprite::selection{background-color:transparent}
|
|
1128
1132
|
._1g6m15vq .ak-editor-expand__content .nestedExpand-content-wrapper{overflow-y:hidden}
|
|
1133
|
+
._1g73261p .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table>colgroup>col{width:unset!important}
|
|
1129
1134
|
._1g77r5cr .resizer-handle-thumb:focus:after{left:var(--ds-space-negative-050,-4px)}
|
|
1130
1135
|
._1g92idpf .ProseMirror [data-layout-section] [data-layout-column]>div>:not(style):first-child{margin-top:0}
|
|
1131
1136
|
._1ga8idpf .ProseMirror [data-layout-section]>[data-layout-column]{margin-bottom:0}
|
|
@@ -1703,6 +1708,7 @@
|
|
|
1703
1708
|
._1td8idpf .ProseMirror .layoutSectionView-content-wrap.ak-editor-selected-node:not(.danger) [data-layout-section] [data-layout-column]:before{top:0}
|
|
1704
1709
|
._1td9bimv .extensionView-content-wrap.danger>span>.legacy-content-header{box-shadow:0 0 0 1px var(--ds-border-danger,#e2483d)}
|
|
1705
1710
|
._1tdl1i6y .fabric-background-color-mark:has(.background-color-padding-right){margin-right:var(--ds-space-negative-025,-2px)}
|
|
1711
|
+
._1tdlewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{overflow-x:visible}
|
|
1706
1712
|
._1tenidpf .fabric-editor-alignment:first-of-type:first-child h5 style:first-child+*{margin-top:0}
|
|
1707
1713
|
._1texusic .ProseMirror .ProseMirror-gapcursor[layout=wrap-right]{float:right}
|
|
1708
1714
|
._1tfl1j28 .pm-table-sticky-wrapper>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -1752,6 +1758,7 @@
|
|
|
1752
1758
|
._1ubhidpf .ProseMirror .ak-editor-annotation-blur{padding-right:0}
|
|
1753
1759
|
._1ubpkb7n .pm-table-wrapper>table:after{z-index:1}
|
|
1754
1760
|
._1uc7m0zr .ProseMirror [layout^=wrap-]+[layout^=wrap-]+ol{clear:both!important}
|
|
1761
|
+
._1uciidpf .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper>table{margin-right:0}
|
|
1755
1762
|
._1ucti7uo .editor-mention-primitive.mention-restricted{color:var(--ds-text,#292a2e)}
|
|
1756
1763
|
._1uddtdv8 .selected-search-match{background-color:var(--ds-background-accent-teal-subtle,#6cc3e0)}
|
|
1757
1764
|
._1ue41l2s .ProseMirror p:has(.placeholder-decoration-hide-overflow){text-overflow:ellipsis}
|
|
@@ -1945,6 +1952,7 @@
|
|
|
1945
1952
|
._1yqx1tmw .extensionView-content-wrap.danger.ak-editor-selected-node>span>.extension-edit-toggle-container>.extension-edit-toggle{color:var(--ds-text-danger,#ae2e24)}
|
|
1946
1953
|
._1yqxibhp .ProseMirror .ak-editor-panel[data-panel-type=warning]{background-color:var(--ds-background-accent-yellow-subtlest,#fef7c8)}
|
|
1947
1954
|
._1ys91j28 .ProseMirror:has(.ProseMirror-gapcursor){caret-color:transparent}
|
|
1955
|
+
._1ysk1g3s .pm-table-wrapper:has(>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
1948
1956
|
._1yssoqnp [data-mark-type=fragment]>[data-mark-type=dataConsumer]>.bodiedExtensionView-content-wrap{margin-bottom:.75rem}
|
|
1949
1957
|
._1yvb1vek [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]:checked:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
1950
1958
|
._1yvx1j28 .pm-table-container>table>tbody>tr>td[data-reaches-left]{border-left-color:transparent}
|
|
@@ -2277,6 +2285,7 @@
|
|
|
2277
2285
|
._8vye1ssb [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]+svg{left:50%}
|
|
2278
2286
|
._8vyeidpf .ProseMirror .pm-table-wrapper>table{margin-right:0}
|
|
2279
2287
|
._8wi61mi1 .ProseMirror .layoutSectionView-content-wrap:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2288
|
+
._8wilewfl .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{overflow-x:visible}
|
|
2280
2289
|
._8wmvoqnp .ProseMirror li>style:first-child+p{margin-top:.75rem}
|
|
2281
2290
|
._8zqr2lzm .pm-table-wrapper>table th:not(.danger) .code-block:not(.danger) .code-block-content-wrapper{background-image:var(--ak-editor--table-overflow-shadow)}
|
|
2282
2291
|
._8zz2idpf .pm-table-container>table>tbody>tr>th{border-right-width:0}
|
|
@@ -2636,6 +2645,7 @@
|
|
|
2636
2645
|
._g5of1mi1 .ProseMirror [data-layout-section]:hover [data-layout-column]:not(:first-of-type) [data-layout-content]:before{margin-left:-25px}
|
|
2637
2646
|
._g5xu1j28 .ak-editor-expand.ak-editor-selected-node:not(.danger)::selection{background-color:transparent}
|
|
2638
2647
|
._g62yutpp .pm-table-container>table>tbody>tr>th th p:not(:first-of-type){margin-top:var(--ds-space-150,9pt)}
|
|
2648
|
+
._g6ebvi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{width:max-content!important}
|
|
2639
2649
|
._g6l115s3 .ak-editor-selected-node.unsupportedInlineView-content-wrap>span:nth-of-type(2){background-color:var(--ds-background-selected,#e9f2fe)}
|
|
2640
2650
|
._g7u3dgkc .ak-editor-expand .ak-editor-expand__icon-container svg{color:var(--ds-icon-subtle,#505258)}
|
|
2641
2651
|
._g7vh4jg8 div[extensionType="com.atlassian.ai-blocks"]:has(.streaming) .extension-container:before{animation-direction:normal}
|
|
@@ -2690,6 +2700,7 @@
|
|
|
2690
2700
|
._h0b91j5o .ProseMirror h4 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
2691
2701
|
._h1671vek [data-prosemirror-node-name=blockTaskItem] .task-item-checkbox-wrap>input[type=checkbox]:active+svg{--checkbox-border-color:var(--local-border-active)}
|
|
2692
2702
|
._h2391jcr .search-match-block.search-match-dark.ak-editor-selected-node .loader-wrapper>div:after{box-shadow:inset 0 0 0 1px var(--ds-background-accent-magenta-bolder,#ae4787),inset 0 0 0 5px var(--ds-background-accent-magenta-bolder-pressed,#77325b),0 0 0 1px var(--ds-border-selected,#1868db)}
|
|
2703
|
+
._h2quglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container{max-width:none}
|
|
2693
2704
|
._h2zmazsu .mentionView-content-wrap.ak-editor-selected-node [data-mention-id]>span{color:var(--ds-text-subtle,#505258)}
|
|
2694
2705
|
._h3z91q9c [data-prosemirror-node-name=date] .date-lozenger-container span{white-space:nowrap}
|
|
2695
2706
|
._h4bbidpf .fabric-editor-font-size:first-of-type:first-child h6:first-child:not(style){margin-top:0}
|
|
@@ -2888,6 +2899,7 @@
|
|
|
2888
2899
|
._kxdfidpf .ProseMirror .ak-editor-selected-node .emoji-common-emoji-image:before{left:0}
|
|
2889
2900
|
._ky807vkz [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=icon]{width:1pc}
|
|
2890
2901
|
._kyt0grf3 .ProseMirror li:has(>ul:only-child)>ul{margin-top:0!important}
|
|
2902
|
+
._kze5vi1l .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){width:max-content!important}
|
|
2891
2903
|
._kzf2h2mm [data-prosemirror-node-name=blockTaskItem] [data-component=task-item-main]{position:relative}
|
|
2892
2904
|
._l1qiidpf .ak-editor-panel.ak-editor-selected-node:not(.danger):before{top:0}
|
|
2893
2905
|
._l2nti7uo .ProseMirror h3{color:var(--ds-text,#292a2e)}
|
|
@@ -3085,6 +3097,7 @@
|
|
|
3085
3097
|
._p3lu1txw .richMedia-resize-handle-left{display:flex}
|
|
3086
3098
|
._p3p6usvi .gridLine{box-sizing:border-box}
|
|
3087
3099
|
._p4wq1osq [data-prosemirror-node-name=taskItem] .task-item-checkbox-wrap>input[type=checkbox]{height:100%}
|
|
3100
|
+
._p73zglyw .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{max-width:none}
|
|
3088
3101
|
._p8rdtlke .ProseMirror :is(.emoji-common-emoji-sprite,.emoji-common-emoji-image){cursor:pointer}
|
|
3089
3102
|
._p96k1b66 .ProseMirror .ak-editor-bodied-sync-block.danger .ak-editor-sync-block__label{padding-bottom:var(--ds-space-050,4px)}
|
|
3090
3103
|
._pa0l15vq .ProseMirror p:has(.placeholder-decoration-hide-overflow){overflow-x:hidden}
|
|
@@ -3097,6 +3110,7 @@
|
|
|
3097
3110
|
._pfwgidpf .bodiedExtensionView-content-wrap .extension-container .bodiedExtension-content-inner-wrapper{padding-left:0}
|
|
3098
3111
|
._pg931osq{--ak-editor--breakout-min-width:100%}
|
|
3099
3112
|
._pgjg1j5o .ProseMirror h6 strong{font-weight:var(--editor-font-ugc-token-weight-heading-bold)}
|
|
3113
|
+
._pgryglyw .ProseMirror .pm-table-wrapper table[data-initial-width-mode=content]{max-width:none}
|
|
3100
3114
|
._pgy3idpf .bodiedExtensionView-content-wrap:first-of-type{margin-top:0}
|
|
3101
3115
|
._phftrsbi{--local-border:var(--ds-border-input,#8c8f97)}
|
|
3102
3116
|
._phnn1rpy [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=placeholder]{color:var(--ds-text-subtlest,#6b6e76)}
|
|
@@ -3121,6 +3135,7 @@
|
|
|
3121
3135
|
._pp57mgjw .resizer-handle div[role=presentation]{margin-top:var(--ds-space-negative-200,-1pc)}
|
|
3122
3136
|
._prsvoskh .ProseMirror [data-layout-section] [data-empty-layout=true] [data-layout-column]:not(:first-of-type) [data-layout-content]:before{height:calc(100% - 24px)}
|
|
3123
3137
|
._pru0idpf .ProseMirror [data-layout-section] [data-layout-column]>div .mediaSingleView-content-wrap[layout^=wrap]:has(+.mediaSingleView-content-wrap[layout^=wrap]) .rich-media-item{margin-top:0}
|
|
3138
|
+
._pru7vi1l .ProseMirror table[data-initial-width-mode=content]>tbody>tr>:is(th,td) .pm-table-container>.pm-table-wrapper{width:max-content!important}
|
|
3124
3139
|
._prvjh2mm .ak-editor-panel.ak-editor-selected-node:not(.danger){position:relative}
|
|
3125
3140
|
._ps8p1o8l .ProseMirror .emojiView-content-wrap{display:inline-block}
|
|
3126
3141
|
._ptek1n1a .bodiedExtensionView-content-wrap .bodiedExtension-content-outer-wrapper{margin-bottom:-1px}
|
|
@@ -3333,10 +3348,12 @@
|
|
|
3333
3348
|
._u6kkutpp .pm-breakout-resize-handle-thumb{top:var(--ds-space-150,9pt)}
|
|
3334
3349
|
._u7fhtlke .statusView-content-wrap>span{cursor:pointer}
|
|
3335
3350
|
._u854iro1 .search-match-block.search-match-block-selected.search-match-dark.ak-editor-selected-node .loader-wrapper>a{box-shadow:0 0 0 1px var(--ds-border-selected,#1868db),0 0 0 4px var(--ds-background-accent-magenta-bolder-hovered,#943d73),0 0 0 5px var(--ds-background-accent-magenta-bolder,#ae4787)}
|
|
3351
|
+
._u8ab1g3s .resizer-item:has(table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3336
3352
|
._u8en3mia .ProseMirror{font-size:var(--ak-editor-base-font-size)}
|
|
3337
3353
|
._u96x1ial .ProseMirror .code-block.ak-editor-selected-node:not(.danger):before{z-index:12}
|
|
3338
3354
|
._uazj1k8s .ProseMirror .code-block .line-number-gutter:before{line-height:1.5rem}
|
|
3339
3355
|
._ubim1n1a .ak-editor-selected-node.unsupportedBlockView-content-wrap>div:after{right:-1px}
|
|
3356
|
+
._ubzd1g3s .pm-table-container:has(>.pm-table-wrapper>table[data-initial-width-mode=content]){max-width:var(--ak-editor-table-max-width)!important}
|
|
3340
3357
|
._ucdskb7n [data-prosemirror-node-name=decisionItem]>[data-decision-wrapper]>[data-component=content]{flex-shrink:1}
|
|
3341
3358
|
._uck94pcx .ProseMirror .ak-editor-panel[data-panel-type=tip] .ak-editor-panel__icon[data-panel-type=tip]{color:var(--ds-icon-success,#6a9a23)}
|
|
3342
3359
|
._ucr81j28 .multiBodiedExtensionView-content-wrap:not(.danger).ak-editor-selected-node>span>.multiBodiedExtension--container ::-moz-selection{background-color:transparent}
|
|
@@ -303,6 +303,7 @@ var editorContentStyles = {
|
|
|
303
303
|
tableCommentEditorStyles: "_s9qz1mok _1quk1aqn _1tb2idpf _8vyeidpf _1igzolhs _ux48glyw _giavsm61 _axu71ibz",
|
|
304
304
|
tableContainerStyles: "_18ml1osq _9e5g1wug _uwd31osq _12wgusvi _nnhzewfl _1gbz1osq _10va1osq _lkzl1n9t _1mca1wug",
|
|
305
305
|
tableContentModeStyles: "_1lxan7od _11a2n7od _19iin7od _1vpzn7od _l6b9n7od _9v33vi1l _poet1ris _9loxvi1l _1dsv1wug _r83tvi1l _cbmx261p",
|
|
306
|
+
tableContentModeNestedTableStyles: "_pgryglyw _15spidpf _kze5vi1l _130mvi1l _9loxvi1l _ubzd1g3s _1ysk1g3s _u8ab1g3s _162evi1l _1dcuglyw _1uciidpf _1g73261p _g6ebvi1l _pru7vi1l _h2quglyw _p73zglyw _8wilewfl _1tdlewfl",
|
|
306
307
|
tableEmptyRowStyles: "_1rgmmh6f _u0mgmh6f",
|
|
307
308
|
tableRoundedCornerStyles: "_1c5kpb1k _qqx7pb1k _10n4pb1k _ddbmpb1k _hnwypb1k _vg21pb1k _iew5pb1k _b4v9pb1k",
|
|
308
309
|
tableLayoutFixes: "_1f5xidpf _28dsidpf _f30jidpf _jr291hrf",
|
|
@@ -387,7 +388,7 @@ export var EditorContentContainerCompiled = /*#__PURE__*/React.forwardRef(functi
|
|
|
387
388
|
}) && 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 */
|
|
388
389
|
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) &&
|
|
389
390
|
// Apply sync block delta styles conditionally based on useStandardNodeWidth (negative margins or not)
|
|
390
|
-
!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, 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, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, 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, 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, className || undefined]),
|
|
391
|
+
!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, 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, isFullPage && editorContentStyles.fullPageEditorStyles, isFullPage && editorContentStyles.scrollbarStyles, fg('platform_editor_nested_dnd_styles_changes') ? editorContentStyles.firstCodeBlockWithNoMargin : editorContentStyles.firstCodeBlockWithNoMarginOld, editorContentStyles.firstBlockNodeStyles, 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, className || undefined]),
|
|
391
392
|
ref: ref,
|
|
392
393
|
"data-editor-scroll-container": isScrollable ? 'true' : undefined,
|
|
393
394
|
"data-testid": "editor-content-container"
|
|
@@ -61,7 +61,7 @@ import { shadowStyles } from './styles/shadowStyles';
|
|
|
61
61
|
import { editorControlsSmartCardStyles, linkingVisualRefreshV1Styles, showDiffDeletedNodeStyles, showDiffDeletedNodeStylesNew, smartCardDiffStyles, smartCardStyles, smartCardStylesWithSearchMatch, smartCardStylesWithSearchMatchAndBlockMenuDangerStyles, smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, smartLinksInLivePagesStyles } from './styles/smartCardStyles';
|
|
62
62
|
import { statusDangerStyles, statusStyles, statusStylesMixin_fg_platform_component_visual_refresh, statusStylesMixin_fg_platform_component_visual_refresh_with_search_match, statusStylesMixin_without_fg_platform_component_visual_refresh, statusStylesMixin_without_fg_platform_component_visual_refresh_with_search_match, statusStylesTeam26 } from './styles/statusStyles';
|
|
63
63
|
import { syncBlockStyles, syncBlockStylesBase, syncBlockFirstNodeStyles, syncBlockOverflowStyles, syncBlockTextSelectionStyles } from './styles/syncBlockStyles';
|
|
64
|
-
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles } from './styles/tableStyles';
|
|
64
|
+
import { tableCommentEditorStyles, tableContainerStyles, tableEmptyRowStyles, tableLayoutFixes, tableRoundedCornerStyles, tableLayoutFixesWithFontSize, tableContentModeStyles, tableContentModeNestedTableStyles } from './styles/tableStyles';
|
|
65
65
|
import { decisionDangerStyles, decisionIconWithVisualRefresh, decisionStyles, getDenseTasksAndDecisionsStyles, taskItemCheckboxStyles, taskItemStyles, taskItemStylesWithBlockTaskItem, tasksAndDecisionsStyles } from './styles/tasksAndDecisionsStyles';
|
|
66
66
|
import { telepointerColorAndCommonStyle, telepointerStyle } from './styles/telepointerStyles';
|
|
67
67
|
import { textColorStyles } from './styles/textColorStyles';
|
|
@@ -531,7 +531,9 @@ export var EditorContentContainerEmotion = /*#__PURE__*/React.forwardRef(functio
|
|
|
531
531
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
532
532
|
expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) &&
|
|
533
533
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
534
|
-
tableContentModeStyles,
|
|
534
|
+
tableContentModeStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && fg('platform_editor_table_nested_renderer_fix') &&
|
|
535
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
536
|
+
tableContentModeNestedTableStyles,
|
|
535
537
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
536
538
|
hyperLinkFloatingToolbarStyles,
|
|
537
539
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
@@ -152,6 +152,52 @@ export var tableContentModeStyles = css({
|
|
|
152
152
|
width: 'unset !important'
|
|
153
153
|
}
|
|
154
154
|
});
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
158
|
+
* If you need to make changes here, also update the corresponding style in
|
|
159
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
160
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
161
|
+
*/
|
|
162
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
163
|
+
export var tableContentModeNestedTableStyles = css({
|
|
164
|
+
// Reset the base `margin-right: -1px` (ED-16212) that clips content-mode tables by 1px.
|
|
165
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
166
|
+
'.ProseMirror .pm-table-wrapper table[data-initial-width-mode="content"]': {
|
|
167
|
+
maxWidth: 'none',
|
|
168
|
+
marginRight: 0
|
|
169
|
+
},
|
|
170
|
+
// Let the resizer/wrapper chain grow to content width before the max-width cap.
|
|
171
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
172
|
+
'.resizer-item:has(table[data-initial-width-mode="content"]), .pm-table-container:has(> .pm-table-wrapper > table[data-initial-width-mode="content"]), .pm-table-wrapper:has(> table[data-initial-width-mode="content"])': {
|
|
173
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
174
|
+
width: 'max-content !important',
|
|
175
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
176
|
+
maxWidth: 'var(--ak-editor-table-max-width) !important'
|
|
177
|
+
},
|
|
178
|
+
// Nested content-mode table: size to content, reset base max-width and margin.
|
|
179
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
180
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table': {
|
|
181
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
182
|
+
width: 'max-content !important',
|
|
183
|
+
maxWidth: 'none',
|
|
184
|
+
marginRight: 0
|
|
185
|
+
},
|
|
186
|
+
// Stop nested table col widths from constraining parent table measurement.
|
|
187
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
188
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper > table > colgroup > col': {
|
|
189
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
190
|
+
width: 'unset !important'
|
|
191
|
+
},
|
|
192
|
+
// Let the nested table container/wrapper grow to content width before the cap.
|
|
193
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
194
|
+
'.ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container, .ProseMirror table[data-initial-width-mode="content"] > tbody > tr > :is(th, td) .pm-table-container > .pm-table-wrapper': {
|
|
195
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles
|
|
196
|
+
width: 'max-content !important',
|
|
197
|
+
maxWidth: 'none',
|
|
198
|
+
overflowX: 'visible'
|
|
199
|
+
}
|
|
200
|
+
});
|
|
155
201
|
/**
|
|
156
202
|
* SSR-safe rounded corners for the outermost table cells.
|
|
157
203
|
*
|
|
@@ -48,6 +48,13 @@ export declare const tableEmptyRowStyles: SerializedStyles;
|
|
|
48
48
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
49
49
|
*/
|
|
50
50
|
export declare const tableContentModeStyles: SerializedStyles;
|
|
51
|
+
/**
|
|
52
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
53
|
+
* If you need to make changes here, also update the corresponding style in
|
|
54
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
55
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
56
|
+
*/
|
|
57
|
+
export declare const tableContentModeNestedTableStyles: SerializedStyles;
|
|
51
58
|
/**
|
|
52
59
|
* SSR-safe rounded corners for the outermost table cells.
|
|
53
60
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "221.5.
|
|
3
|
+
"version": "221.5.13",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -188,6 +188,9 @@
|
|
|
188
188
|
"platform_editor_table_auto_convert_fix": {
|
|
189
189
|
"type": "boolean"
|
|
190
190
|
},
|
|
191
|
+
"platform_editor_table_nested_renderer_fix": {
|
|
192
|
+
"type": "boolean"
|
|
193
|
+
},
|
|
191
194
|
"platform_editor_toolbar_mode_override": {
|
|
192
195
|
"type": "boolean"
|
|
193
196
|
},
|