tiptap-markdown-react 1.5.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/labels.d.ts CHANGED
@@ -122,6 +122,10 @@ export interface ToolbarLabels {
122
122
  * (`<MarkdownWysiwygEditor>`),点击后由宿主调 `handle.openFind()`。
123
123
  */
124
124
  search: string;
125
+ /** 更多菜单里的全屏项。把包住工具栏和正文的容器铺满视口。 */
126
+ fullscreen: string;
127
+ /** 已处于全屏时,同一按钮的 title / aria-label。 */
128
+ exitFullscreen: string;
125
129
  codeBlock: string;
126
130
  hr: string;
127
131
  /** 导入下拉里的 Markdown 项。 */
package/dist/reader.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C, a, R, b, c, f, m, r, s } from "./ReportContentWithCharts-CMMUE51M.js";
2
+ import { C, a, R, b, c, f, m, r, s } from "./ReportContentWithCharts-BaBitkZX.js";
3
3
  import { a as a2, e, b as b2 } from "./ReportContent-DUvhic0o.js";
4
4
  export {
5
5
  C as ChartMount,
@@ -3861,40 +3861,52 @@ table.tmr-pending-anchor {
3861
3861
  height: 15px;
3862
3862
  }
3863
3863
  /* 顶部操作栏:横跨宽度、内容居中、细线灰图标。配色映射到可覆盖的 --tmr-* 变量。 */
3864
- ._toolbar_1vr0x_2 {
3864
+ ._toolbar_1y8hn_2 {
3865
3865
  --sb-accent: var(--tmr-accent, #ff6719);
3866
3866
  --sb-text: var(--tmr-text, #363737);
3867
3867
  --sb-muted: var(--tmr-toolbar-muted, #6b6b6b);
3868
3868
  --sb-border: var(--tmr-toolbar-border, #ececec);
3869
3869
 
3870
+ box-sizing: border-box;
3870
3871
  width: 100%;
3872
+ /* 放进 flex / grid 时默认 min-width:auto 会按按钮内容撑开这一列。
3873
+ 外层若 overflow:hidden,多出来的部分被裁掉,下面的横滚也滚不到头。 */
3874
+ max-width: 100%;
3875
+ min-width: 0;
3871
3876
  flex: none;
3872
3877
  border-bottom: 1px solid var(--sb-border);
3873
3878
  background: #fff;
3874
3879
  z-index: 8;
3875
3880
  }
3876
3881
 
3877
- ._inner_1vr0x_15 {
3882
+ ._inner_1y8hn_20 {
3878
3883
  display: flex;
3879
3884
  align-items: center;
3880
3885
  /* 溢出时 `safe` 让居中回退为起点对齐——否则两端内容会被裁掉且滚不到头 */
3881
3886
  justify-content: safe center;
3882
- /* 控件排满一行后横向滚动(2026-10-10 按用户要求从「换行」改为滚动):
3883
- 单行、不换行;macOS 的 overlay 滚动条平时隐藏,触控板 / Shift+滚轮 / 细滚动条可横向滚。 */
3887
+ /* 控件排满一行后在栏内横向滚动(2026-10-10 按用户要求从「换行」改为滚动):
3888
+ 单行、不换行。宽度跟操作栏走,不再用固定 1100px——按钮一多就会恒定溢出,
3889
+ 右端落在可视区外,macOS 的 overlay 滚动条平时又看不见。
3890
+ 窄于按钮行时才出现横滚。overflow-y 显式 hidden:只写 overflow-x:auto
3891
+ 时规范会把另一轴提升成 auto,亚像素会多出一根纵向滚动条。 */
3884
3892
  flex-wrap: nowrap;
3893
+ box-sizing: border-box;
3894
+ width: 100%;
3895
+ max-width: 100%;
3896
+ min-width: 0;
3897
+ margin: 0;
3898
+ padding: 8px 16px;
3885
3899
  overflow-x: auto;
3900
+ overflow-y: hidden;
3886
3901
  scrollbar-width: thin;
3887
- max-width: 1100px;
3888
- margin: 0 auto;
3889
- padding: 8px 16px;
3890
3902
  }
3891
3903
 
3892
3904
  /* 单行 + 溢出滚动时不允许把控件压扁(各控件本来就该保持自身宽度) */
3893
- ._inner_1vr0x_15 > * {
3905
+ ._inner_1y8hn_20 > * {
3894
3906
  flex-shrink: 0;
3895
3907
  }
3896
3908
 
3897
- ._btn_1vr0x_35 {
3909
+ ._btn_1y8hn_47 {
3898
3910
  display: inline-flex;
3899
3911
  align-items: center;
3900
3912
  justify-content: center;
@@ -3912,28 +3924,28 @@ table.tmr-pending-anchor {
3912
3924
  transition: background 0.15s, color 0.15s;
3913
3925
  }
3914
3926
 
3915
- ._btn_1vr0x_35:hover:not(:disabled) {
3927
+ ._btn_1y8hn_47:hover:not(:disabled) {
3916
3928
  background: #f3f3f3;
3917
3929
  color: var(--sb-text);
3918
3930
  }
3919
3931
 
3920
- ._btnActive_1vr0x_58 {
3932
+ ._btnActive_1y8hn_70 {
3921
3933
  color: var(--sb-accent);
3922
3934
  background: #fff3ec;
3923
3935
  }
3924
3936
 
3925
- ._btnActive_1vr0x_58:hover {
3937
+ ._btnActive_1y8hn_70:hover {
3926
3938
  color: var(--sb-accent);
3927
3939
  background: #ffe8da;
3928
3940
  }
3929
3941
 
3930
- ._btn_1vr0x_35:disabled {
3942
+ ._btn_1y8hn_47:disabled {
3931
3943
  opacity: 0.3;
3932
3944
  cursor: not-allowed;
3933
3945
  }
3934
3946
 
3935
3947
  /* 文字型图标(引用等) */
3936
- ._txtIcon_1vr0x_74 {
3948
+ ._txtIcon_1y8hn_86 {
3937
3949
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
3938
3950
  font-size: 16px;
3939
3951
  font-weight: 600;
@@ -3941,7 +3953,7 @@ table.tmr-pending-anchor {
3941
3953
  }
3942
3954
 
3943
3955
  /* 文字颜色 / 高亮图标:字母 + 底部当前色条 */
3944
- ._colorIcon_1vr0x_82 {
3956
+ ._colorIcon_1y8hn_94 {
3945
3957
  display: inline-flex;
3946
3958
  flex-direction: column;
3947
3959
  align-items: center;
@@ -3949,20 +3961,20 @@ table.tmr-pending-anchor {
3949
3961
  line-height: 1;
3950
3962
  }
3951
3963
 
3952
- ._colorIconGlyph_1vr0x_90 {
3964
+ ._colorIconGlyph_1y8hn_102 {
3953
3965
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
3954
3966
  font-size: 15px;
3955
3967
  font-weight: 600;
3956
3968
  }
3957
3969
 
3958
- ._colorIconBar_1vr0x_96 {
3970
+ ._colorIconBar_1y8hn_108 {
3959
3971
  width: 16px;
3960
3972
  height: 3px;
3961
3973
  border-radius: 1.5px;
3962
3974
  }
3963
3975
 
3964
3976
  /* A▾ 上标/下标下拉触发器 */
3965
- ._scriptTrigger_1vr0x_103 {
3977
+ ._scriptTrigger_1y8hn_115 {
3966
3978
  display: inline-flex;
3967
3979
  align-items: center;
3968
3980
  gap: 3px;
@@ -3977,12 +3989,12 @@ table.tmr-pending-anchor {
3977
3989
  transition: background 0.15s, color 0.15s;
3978
3990
  }
3979
3991
 
3980
- ._scriptTrigger_1vr0x_103:hover {
3992
+ ._scriptTrigger_1y8hn_115:hover {
3981
3993
  background: #f3f3f3;
3982
3994
  color: var(--sb-text);
3983
3995
  }
3984
3996
 
3985
- ._scriptTriggerGlyph_1vr0x_123 {
3997
+ ._scriptTriggerGlyph_1y8hn_135 {
3986
3998
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
3987
3999
  font-size: 16px;
3988
4000
  font-weight: 600;
@@ -3990,7 +4002,7 @@ table.tmr-pending-anchor {
3990
4002
  text-underline-offset: 2px;
3991
4003
  }
3992
4004
 
3993
- ._divider_1vr0x_131 {
4005
+ ._divider_1y8hn_143 {
3994
4006
  width: 1px;
3995
4007
  height: 20px;
3996
4008
  margin: 0 8px;
@@ -3999,12 +4011,11 @@ table.tmr-pending-anchor {
3999
4011
  }
4000
4012
 
4001
4013
  /* ── Style / Size / More 下拉触发器 ── */
4002
- ._styleTrigger_1vr0x_140 {
4014
+ ._styleTrigger_1y8hn_152 {
4003
4015
  display: inline-flex;
4004
4016
  align-items: center;
4005
4017
  /* 紧凑口径:宽随文案、文字与箭头只隔 4px。旧版固定 76px + space-between 会把二者
4006
- 拉开到 ~17px,且四枚固定宽把工具栏内层(max-width: 1100px)恒定撑出 40px 溢出,
4007
- 末端「更多」的箭头被裁在滚动容器可视区外(2026-10-10 用户反馈)。
4018
+ 拉开到 ~17px,四枚固定宽还会把按钮行撑出一截看不见的溢出(2026-10-10 用户反馈)。
4008
4019
  max-width 兜住长文案:最宽不超过旧的固定宽。 */
4009
4020
  justify-content: flex-start;
4010
4021
  gap: 4px;
@@ -4024,16 +4035,16 @@ table.tmr-pending-anchor {
4024
4035
  transition: background 0.15s;
4025
4036
  }
4026
4037
 
4027
- ._styleTrigger_1vr0x_140:hover:not(:disabled) {
4038
+ ._styleTrigger_1y8hn_152:hover:not(:disabled) {
4028
4039
  background: #f3f3f3;
4029
4040
  }
4030
4041
 
4031
- ._styleTrigger_1vr0x_140:disabled {
4042
+ ._styleTrigger_1y8hn_152:disabled {
4032
4043
  opacity: 0.3;
4033
4044
  cursor: not-allowed;
4034
4045
  }
4035
4046
 
4036
- ._styleTriggerLabel_1vr0x_174 {
4047
+ ._styleTriggerLabel_1y8hn_185 {
4037
4048
  /* 不吃满空档:文字与箭头的间距完全由 gap 决定(flex: 1 会把空档塞在两者之间) */
4038
4049
  flex: 0 1 auto;
4039
4050
  text-align: left;
@@ -4043,39 +4054,39 @@ table.tmr-pending-anchor {
4043
4054
  }
4044
4055
 
4045
4056
  /* 样式 / 字号按钮:候选文案叠在同一格,宽度取最长的一档,切换时按钮不伸缩。 */
4046
- ._styleTriggerStable_1vr0x_184 {
4057
+ ._styleTriggerStable_1y8hn_195 {
4047
4058
  max-width: none;
4048
4059
  }
4049
4060
 
4050
- ._styleTriggerLabelStable_1vr0x_188 {
4061
+ ._styleTriggerLabelStable_1y8hn_199 {
4051
4062
  display: inline-grid;
4052
4063
  overflow: visible;
4053
4064
  }
4054
4065
 
4055
- ._styleTriggerSizer_1vr0x_193,
4056
- ._styleTriggerValue_1vr0x_194 {
4066
+ ._styleTriggerSizer_1y8hn_204,
4067
+ ._styleTriggerValue_1y8hn_205 {
4057
4068
  grid-area: 1 / 1;
4058
4069
  white-space: nowrap;
4059
4070
  }
4060
4071
 
4061
- ._styleTriggerSizer_1vr0x_193 {
4072
+ ._styleTriggerSizer_1y8hn_204 {
4062
4073
  visibility: hidden;
4063
4074
  height: 0;
4064
4075
  overflow: hidden;
4065
4076
  }
4066
4077
 
4067
- ._styleTriggerSizer_1vr0x_193 > span {
4078
+ ._styleTriggerSizer_1y8hn_204 > span {
4068
4079
  display: block;
4069
4080
  }
4070
4081
 
4071
- ._styleTriggerCaret_1vr0x_209 {
4082
+ ._styleTriggerCaret_1y8hn_220 {
4072
4083
  color: var(--sb-muted);
4073
4084
  flex: none;
4074
4085
  }
4075
4086
 
4076
4087
  /* 图标型触发器(对齐 / 缩进 / 行高,与 .styleTrigger 合用):基础类是给「文字 + 箭头」的,
4077
4088
  图标型只需「图标 + 箭头」贴紧并居中——宽度随内容、间距再收一档。 */
4078
- ._iconTrigger_1vr0x_216 {
4089
+ ._iconTrigger_1y8hn_227 {
4079
4090
  width: auto;
4080
4091
  justify-content: center;
4081
4092
  gap: 2px;
@@ -4083,13 +4094,13 @@ table.tmr-pending-anchor {
4083
4094
  }
4084
4095
 
4085
4096
  /* 下拉项:图标 + 文字 */
4086
- ._styleItem_1vr0x_224 {
4097
+ ._styleItem_1y8hn_235 {
4087
4098
  display: inline-flex;
4088
4099
  align-items: center;
4089
4100
  gap: 12px;
4090
4101
  }
4091
4102
 
4092
- ._styleIcon_1vr0x_230 {
4103
+ ._styleIcon_1y8hn_241 {
4093
4104
  display: inline-flex;
4094
4105
  justify-content: center;
4095
4106
  align-items: center;
@@ -4099,19 +4110,19 @@ table.tmr-pending-anchor {
4099
4110
  }
4100
4111
 
4101
4112
  /* 上标 / 下标图标 */
4102
- ._scriptGlyph_1vr0x_240 {
4113
+ ._scriptGlyph_1y8hn_251 {
4103
4114
  display: inline-block;
4104
4115
  text-align: center;
4105
4116
  font-family: 'SF Pro Display', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
4106
4117
  }
4107
4118
 
4108
- ._scriptGlyph_1vr0x_240 sup,
4109
- ._scriptGlyph_1vr0x_240 sub {
4119
+ ._scriptGlyph_1y8hn_251 sup,
4120
+ ._scriptGlyph_1y8hn_251 sub {
4110
4121
  font-size: 0.7em;
4111
4122
  }
4112
4123
 
4113
4124
  /* ── Radix 下拉菜单面板 ── */
4114
- ._menu_1vr0x_252 {
4125
+ ._menu_1y8hn_263 {
4115
4126
  min-width: 200px;
4116
4127
  padding: 6px;
4117
4128
  background: #fff;
@@ -4122,7 +4133,7 @@ table.tmr-pending-anchor {
4122
4133
  z-index: 1000;
4123
4134
  }
4124
4135
 
4125
- ._menuItem_1vr0x_263 {
4136
+ ._menuItem_1y8hn_274 {
4126
4137
  display: flex;
4127
4138
  align-items: center;
4128
4139
  width: 100%;
@@ -4139,59 +4150,59 @@ table.tmr-pending-anchor {
4139
4150
  gap: 8px;
4140
4151
  }
4141
4152
 
4142
- ._menuItem_1vr0x_263:hover:not(:disabled) {
4153
+ ._menuItem_1y8hn_274:hover:not(:disabled) {
4143
4154
  background: #f3f3f3;
4144
4155
  }
4145
4156
 
4146
- ._menuItem_1vr0x_263:disabled {
4157
+ ._menuItem_1y8hn_274:disabled {
4147
4158
  opacity: 0.35;
4148
4159
  cursor: not-allowed;
4149
4160
  }
4150
4161
 
4151
4162
  /* 选中态:品牌色高亮 */
4152
- ._menuItemSelected_1vr0x_290 {
4163
+ ._menuItemSelected_1y8hn_301 {
4153
4164
  background: #fff3ec;
4154
4165
  color: var(--sb-accent);
4155
4166
  }
4156
4167
 
4157
- ._menuItemSelected_1vr0x_290 ._styleIcon_1vr0x_230 {
4168
+ ._menuItemSelected_1y8hn_301 ._styleIcon_1y8hn_241 {
4158
4169
  color: var(--sb-accent);
4159
4170
  }
4160
4171
 
4161
- ._menuItemSelected_1vr0x_290:hover:not(:disabled) {
4172
+ ._menuItemSelected_1y8hn_301:hover:not(:disabled) {
4162
4173
  background: #ffe8da;
4163
4174
  }
4164
4175
 
4165
4176
  /* 有序列表按钮 + 编号格式箭头,贴在一起当一组。
4166
4177
  高亮画在这一组上,箭头和列表图标在同一块底色里。 */
4167
- ._listSplit_1vr0x_305 {
4178
+ ._listSplit_1y8hn_316 {
4168
4179
  display: inline-flex;
4169
4180
  align-items: center;
4170
4181
  border-radius: 6px;
4171
4182
  }
4172
4183
 
4173
- ._listSplitActive_1vr0x_311 {
4184
+ ._listSplitActive_1y8hn_322 {
4174
4185
  background: #fff3ec;
4175
4186
  }
4176
4187
 
4177
- ._listSplitActive_1vr0x_311:hover {
4188
+ ._listSplitActive_1y8hn_322:hover {
4178
4189
  background: #ffe8da;
4179
4190
  }
4180
4191
 
4181
- ._listSplitActive_1vr0x_311 ._btn_1vr0x_35,
4182
- ._listSplitActive_1vr0x_311 ._btn_1vr0x_35:hover,
4183
- ._listSplitActive_1vr0x_311 ._btnActive_1vr0x_58,
4184
- ._listSplitActive_1vr0x_311 ._btnActive_1vr0x_58:hover,
4185
- ._listSplitActive_1vr0x_311 ._numberingCaret_1vr0x_323,
4186
- ._listSplitActive_1vr0x_311 ._numberingCaret_1vr0x_323:hover {
4192
+ ._listSplitActive_1y8hn_322 ._btn_1y8hn_47,
4193
+ ._listSplitActive_1y8hn_322 ._btn_1y8hn_47:hover,
4194
+ ._listSplitActive_1y8hn_322 ._btnActive_1y8hn_70,
4195
+ ._listSplitActive_1y8hn_322 ._btnActive_1y8hn_70:hover,
4196
+ ._listSplitActive_1y8hn_322 ._numberingCaret_1y8hn_334,
4197
+ ._listSplitActive_1y8hn_322 ._numberingCaret_1y8hn_334:hover {
4187
4198
  background: transparent;
4188
4199
  }
4189
4200
 
4190
- ._listSplitActive_1vr0x_311 ._numberingCaret_1vr0x_323 {
4201
+ ._listSplitActive_1y8hn_322 ._numberingCaret_1y8hn_334 {
4191
4202
  color: var(--sb-accent);
4192
4203
  }
4193
4204
 
4194
- ._numberingCaret_1vr0x_323 {
4205
+ ._numberingCaret_1y8hn_334 {
4195
4206
  display: inline-flex;
4196
4207
  align-items: center;
4197
4208
  justify-content: center;
@@ -4207,16 +4218,16 @@ table.tmr-pending-anchor {
4207
4218
  flex-shrink: 0;
4208
4219
  }
4209
4220
 
4210
- ._numberingCaret_1vr0x_323:hover {
4221
+ ._numberingCaret_1y8hn_334:hover {
4211
4222
  background: #f3f3f3;
4212
4223
  color: var(--sb-text);
4213
4224
  }
4214
4225
 
4215
- ._numberingCaretActive_1vr0x_353 {
4226
+ ._numberingCaretActive_1y8hn_364 {
4216
4227
  color: var(--sb-accent);
4217
4228
  }
4218
4229
 
4219
- ._numberingMenu_1vr0x_357 {
4230
+ ._numberingMenu_1y8hn_368 {
4220
4231
  width: 220px;
4221
4232
  min-width: 0;
4222
4233
  padding: 6px;
@@ -4226,13 +4237,13 @@ table.tmr-pending-anchor {
4226
4237
  overscroll-behavior: contain;
4227
4238
  }
4228
4239
 
4229
- ._numberingGrid_1vr0x_367 {
4240
+ ._numberingGrid_1y8hn_378 {
4230
4241
  display: flex;
4231
4242
  flex-direction: column;
4232
4243
  gap: 2px;
4233
4244
  }
4234
4245
 
4235
- ._numberingOption_1vr0x_373 {
4246
+ ._numberingOption_1y8hn_384 {
4236
4247
  display: block;
4237
4248
  width: 100%;
4238
4249
  padding: 6px 8px;
@@ -4243,37 +4254,37 @@ table.tmr-pending-anchor {
4243
4254
  text-align: left;
4244
4255
  }
4245
4256
 
4246
- ._numberingOption_1vr0x_373:hover {
4257
+ ._numberingOption_1y8hn_384:hover {
4247
4258
  background: #f3f3f3;
4248
4259
  }
4249
4260
 
4250
- ._numberingOptionActive_1vr0x_388 {
4261
+ ._numberingOptionActive_1y8hn_399 {
4251
4262
  background: #fff3ec;
4252
4263
  box-shadow: inset 0 0 0 1px var(--sb-accent);
4253
4264
  }
4254
4265
 
4255
- ._numberingPreview_1vr0x_393 {
4266
+ ._numberingPreview_1y8hn_404 {
4256
4267
  display: flex;
4257
4268
  flex-direction: column;
4258
4269
  gap: 3px;
4259
4270
  }
4260
4271
 
4261
- ._numberingPreviewRow_1vr0x_399 {
4272
+ ._numberingPreviewRow_1y8hn_410 {
4262
4273
  display: flex;
4263
4274
  align-items: center;
4264
4275
  gap: 6px;
4265
4276
  height: 12px;
4266
4277
  }
4267
4278
 
4268
- ._numberingPreviewRow_1vr0x_399[data-depth='2'] {
4279
+ ._numberingPreviewRow_1y8hn_410[data-depth='2'] {
4269
4280
  padding-left: 10px;
4270
4281
  }
4271
4282
 
4272
- ._numberingPreviewRow_1vr0x_399[data-depth='3'] {
4283
+ ._numberingPreviewRow_1y8hn_410[data-depth='3'] {
4273
4284
  padding-left: 20px;
4274
4285
  }
4275
4286
 
4276
- ._numberingPreviewMarker_1vr0x_414 {
4287
+ ._numberingPreviewMarker_1y8hn_425 {
4277
4288
  flex: none;
4278
4289
  font-size: 10px;
4279
4290
  line-height: 1;
@@ -4281,13 +4292,13 @@ table.tmr-pending-anchor {
4281
4292
  font-variant-numeric: tabular-nums;
4282
4293
  }
4283
4294
 
4284
- ._numberingPreviewLine_1vr0x_422 {
4295
+ ._numberingPreviewLine_1y8hn_433 {
4285
4296
  flex: 1;
4286
4297
  height: 1px;
4287
4298
  background: #c8c8c8;
4288
4299
  }
4289
4300
 
4290
- ._tableInsertCaret_1vr0x_428 {
4301
+ ._tableInsertCaret_1y8hn_439 {
4291
4302
  margin-left: auto;
4292
4303
  color: var(--sb-muted);
4293
4304
  transform: rotate(-90deg);
@@ -4295,7 +4306,7 @@ table.tmr-pending-anchor {
4295
4306
  }
4296
4307
 
4297
4308
  /* 插入表格:行列网格选择器 */
4298
- ._tableSizePicker_1vr0x_436 {
4309
+ ._tableSizePicker_1y8hn_447 {
4299
4310
  padding: 10px;
4300
4311
  background: #fff;
4301
4312
  border-radius: 10px;
@@ -4305,12 +4316,12 @@ table.tmr-pending-anchor {
4305
4316
  z-index: 1001;
4306
4317
  }
4307
4318
 
4308
- ._tableSizeGrid_1vr0x_446 {
4319
+ ._tableSizeGrid_1y8hn_457 {
4309
4320
  display: grid;
4310
4321
  gap: 3px;
4311
4322
  }
4312
4323
 
4313
- ._tableSizeCell_1vr0x_451 {
4324
+ ._tableSizeCell_1y8hn_462 {
4314
4325
  width: 16px;
4315
4326
  height: 16px;
4316
4327
  padding: 0;
@@ -4320,12 +4331,12 @@ table.tmr-pending-anchor {
4320
4331
  cursor: pointer;
4321
4332
  }
4322
4333
 
4323
- ._tableSizeCellActive_1vr0x_461 {
4334
+ ._tableSizeCellActive_1y8hn_472 {
4324
4335
  border-color: var(--tmr-accent, #ff6719);
4325
4336
  background: #fff3ec;
4326
4337
  }
4327
4338
 
4328
- ._tableSizeLabel_1vr0x_466 {
4339
+ ._tableSizeLabel_1y8hn_477 {
4329
4340
  margin-top: 8px;
4330
4341
  text-align: center;
4331
4342
  font-size: 12px;
@@ -4334,28 +4345,28 @@ table.tmr-pending-anchor {
4334
4345
  }
4335
4346
 
4336
4347
  /* Radix Popover 内容(承载 ColorPalette),面板自带阴影,这里只兜底 z-index */
4337
- ._popoverContent_1vr0x_475 {
4348
+ ._popoverContent_1y8hn_486 {
4338
4349
  z-index: 1000;
4339
4350
  }
4340
4351
 
4341
- ._mathLayer_1vr0x_479 {
4352
+ ._mathLayer_1y8hn_490 {
4342
4353
  position: absolute;
4343
4354
  z-index: 6;
4344
4355
  }
4345
4356
 
4346
- ._mathStack_1vr0x_484 {
4357
+ ._mathStack_1y8hn_495 {
4347
4358
  display: flex;
4348
4359
  flex-direction: column;
4349
4360
  align-items: flex-start;
4350
4361
  gap: 8px;
4351
4362
  }
4352
4363
 
4353
- ._mathStackBlock_1vr0x_491 {
4364
+ ._mathStackBlock_1y8hn_502 {
4354
4365
  align-items: stretch;
4355
4366
  width: 100%;
4356
4367
  }
4357
4368
 
4358
- ._mathHint_1vr0x_496 {
4369
+ ._mathHint_1y8hn_507 {
4359
4370
  display: inline-flex;
4360
4371
  align-items: center;
4361
4372
  gap: 6px;
@@ -4367,19 +4378,19 @@ table.tmr-pending-anchor {
4367
4378
  line-height: 1.4;
4368
4379
  }
4369
4380
 
4370
- ._mathHintBlock_1vr0x_508 {
4381
+ ._mathHintBlock_1y8hn_519 {
4371
4382
  width: 100%;
4372
4383
  padding: 10px 14px;
4373
4384
  border-radius: 8px;
4374
4385
  }
4375
4386
 
4376
- ._mathHintIcon_1vr0x_514 {
4387
+ ._mathHintIcon_1y8hn_525 {
4377
4388
  font-family: ui-serif, Georgia, 'Times New Roman', serif;
4378
4389
  font-size: 12px;
4379
4390
  opacity: 0.85;
4380
4391
  }
4381
4392
 
4382
- ._mathPreviewInline_1vr0x_520 {
4393
+ ._mathPreviewInline_1y8hn_531 {
4383
4394
  display: inline-flex;
4384
4395
  max-width: min(440px, calc(100vw - 24px));
4385
4396
  padding: 4px 10px;
@@ -4389,7 +4400,7 @@ table.tmr-pending-anchor {
4389
4400
  color: var(--tmr-text, #363737);
4390
4401
  }
4391
4402
 
4392
- ._mathPreviewBlock_1vr0x_530 {
4403
+ ._mathPreviewBlock_1y8hn_541 {
4393
4404
  width: 100%;
4394
4405
  min-height: 48px;
4395
4406
  padding: 14px 16px;
@@ -4400,11 +4411,11 @@ table.tmr-pending-anchor {
4400
4411
  color: var(--tmr-text, #363737);
4401
4412
  }
4402
4413
 
4403
- ._mathPreviewBlock_1vr0x_530 .katex-display {
4414
+ ._mathPreviewBlock_1y8hn_541 .katex-display {
4404
4415
  margin: 0;
4405
4416
  }
4406
4417
 
4407
- ._mathField_1vr0x_545 {
4418
+ ._mathField_1y8hn_556 {
4408
4419
  display: flex;
4409
4420
  align-items: center;
4410
4421
  gap: 8px;
@@ -4416,14 +4427,14 @@ table.tmr-pending-anchor {
4416
4427
  box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
4417
4428
  }
4418
4429
 
4419
- ._mathFieldBlock_1vr0x_557 {
4430
+ ._mathFieldBlock_1y8hn_568 {
4420
4431
  align-items: flex-start;
4421
4432
  width: 100%;
4422
4433
  border-radius: 12px;
4423
4434
  padding: 10px 10px 10px 14px;
4424
4435
  }
4425
4436
 
4426
- ._mathInput_1vr0x_564 {
4437
+ ._mathInput_1y8hn_575 {
4427
4438
  flex: 1;
4428
4439
  min-width: 0;
4429
4440
  margin: 0;
@@ -4437,11 +4448,11 @@ table.tmr-pending-anchor {
4437
4448
  resize: none;
4438
4449
  }
4439
4450
 
4440
- ._mathInput_1vr0x_564:focus {
4451
+ ._mathInput_1y8hn_575:focus {
4441
4452
  outline: none;
4442
4453
  }
4443
4454
 
4444
- ._mathDone_1vr0x_582 {
4455
+ ._mathDone_1y8hn_593 {
4445
4456
  display: inline-flex;
4446
4457
  align-items: center;
4447
4458
  gap: 4px;
@@ -4457,20 +4468,68 @@ table.tmr-pending-anchor {
4457
4468
  cursor: pointer;
4458
4469
  }
4459
4470
 
4460
- ._mathDone_1vr0x_582:hover:not(:disabled) {
4471
+ ._mathDone_1y8hn_593:hover:not(:disabled) {
4461
4472
  filter: brightness(0.95);
4462
4473
  }
4463
4474
 
4464
- ._mathDone_1vr0x_582:disabled {
4475
+ ._mathDone_1y8hn_593:disabled {
4465
4476
  opacity: 0.35;
4466
4477
  cursor: not-allowed;
4467
4478
  }
4468
4479
 
4469
- ._mathDoneKbd_1vr0x_607 {
4480
+ ._mathDoneKbd_1y8hn_618 {
4470
4481
  font-size: 11px;
4471
4482
  font-weight: 500;
4472
4483
  opacity: 0.85;
4473
4484
  }
4485
+ /* 工具栏「全屏」打在包住工具栏和正文的容器上(见 fullscreen.ts)。
4486
+ 铺满视口,而不是 Fullscreen API:portal 到 body 的菜单在浏览器全屏层里会被裁掉。
4487
+ 选择器写两遍属性,压过宿主单类名上的 max-height / border(样式表谁后加载都一样)。
4488
+ display 用 important:宿主常用内联 style 控制显隐,内联会盖过属性选择器。 */
4489
+
4490
+ [data-tmr-fullscreen][data-tmr-fullscreen] {
4491
+ position: fixed;
4492
+ inset: 0;
4493
+ z-index: var(--tmr-fullscreen-z, 900);
4494
+ box-sizing: border-box;
4495
+ display: flex !important;
4496
+ flex-direction: column;
4497
+ max-width: none;
4498
+ max-height: none;
4499
+ margin: 0;
4500
+ border: 0;
4501
+ border-radius: 0;
4502
+ box-shadow: none;
4503
+ background: var(--tmr-fullscreen-bg, #fff);
4504
+ overflow: hidden;
4505
+ padding:
4506
+ env(safe-area-inset-top, 0px)
4507
+ env(safe-area-inset-right, 0px)
4508
+ env(safe-area-inset-bottom, 0px)
4509
+ env(safe-area-inset-left, 0px);
4510
+ }
4511
+
4512
+ [data-tmr-fullscreen][data-tmr-fullscreen] > [data-tmr-toolbar] {
4513
+ flex: none;
4514
+ }
4515
+
4516
+ /* 工具栏以外的直接子节点(正文滚动区)吃掉剩余高度,并解开宿主的 max-height。
4517
+ hidden 的 file input 排除在外。 */
4518
+ [data-tmr-fullscreen][data-tmr-fullscreen] > :not([data-tmr-toolbar]):not([hidden]) {
4519
+ flex: 1 1 auto;
4520
+ min-height: 0;
4521
+ max-height: none;
4522
+ overflow: auto;
4523
+ }
4524
+
4525
+ /* 表格手柄 / 图片工具条 portal 到 body,平时 z-index 低于全屏层。
4526
+ 抬到全屏之上、菜单(1000)之下。变量设在 :root 上才跟得上,因为这些节点不在全屏容器里。 */
4527
+ :root[data-tmr-fullscreen-root] [data-table-handle],
4528
+ :root[data-tmr-fullscreen-root] [data-table-extend],
4529
+ :root[data-tmr-fullscreen-root] [data-table-menu],
4530
+ :root[data-tmr-fullscreen-root] [data-image-align] {
4531
+ z-index: calc(var(--tmr-fullscreen-z, 900) + 10);
4532
+ }
4474
4533
  /* 颜色面板:None 清除行 + 10×6 色板 + THEME 品牌色 */
4475
4534
  ._palette_x5lrq_2 {
4476
4535
  padding: 14px;