|
82 | 82 | arrays with column separators like |
83 | 83 | `\begin{array}{l|l} a & b\\ c & d\end{array}`. |
84 | 84 | - **#2515** Fixed placeholders inside accent commands (`\vec{}`, `\bar{}`, |
85 | | - `\hat{}`, etc.) not being clickable. When clicking on a placeholder wrapped |
86 | | - in an accent command, the cursor now correctly positions inside the |
87 | | - placeholder instead of selecting the entire accent atom. |
| 85 | + `\hat{}`, etc.) not being clickable. When clicking on a placeholder wrapped in |
| 86 | + an accent command, the cursor now correctly positions inside the placeholder |
| 87 | + instead of selecting the entire accent atom. |
88 | 88 | - **#2521** Fixed the `/` shortcut misplacing subscripts when converting a |
89 | 89 | selection into a fraction. Previously, selecting a symbol with an attached |
90 | 90 | subscript, e.g. `d_0`, and pressing `/` would move only the base `d` into the |
91 | | - numerator and leave the orphaned `_0` attached to the denominator |
92 | | - placeholder. Selection normalization now automatically expands to include the |
93 | | - associated `subsup` atom so the scripted symbol stays intact inside the |
94 | | - resulting fraction. |
| 91 | + numerator and leave the orphaned `_0` attached to the denominator placeholder. |
| 92 | + Selection normalization now automatically expands to include the associated |
| 93 | + `subsup` atom so the scripted symbol stays intact inside the resulting |
| 94 | + fraction. |
95 | 95 | - **#2558** Fixed cursor jumping to the beginning when entering a left |
96 | 96 | parenthesis before a previously entered right parenthesis. When typing a |
97 | | - closing bracket first (e.g., `1+2+3)`), then moving the cursor back and |
98 | | - typing an opening bracket `(`, the smart fence feature would correctly create |
| 97 | + closing bracket first (e.g., `1+2+3)`), then moving the cursor back and typing |
| 98 | + an opening bracket `(`, the smart fence feature would correctly create |
99 | 99 | `\left(2+3\right)` but would incorrectly position the cursor at the start of |
100 | 100 | the expression instead of after the opening parenthesis. The cursor now |
101 | | - properly stays positioned inside the newly created fence, right after the |
102 | | - left delimiter. |
| 101 | + properly stays positioned inside the newly created fence, right after the left |
| 102 | + delimiter. |
103 | 103 | - **#2547** Fixed rendering of `\colorbox` in fractions where the colored |
104 | 104 | background would obscure the fraction bar. The background is now rendered |
105 | 105 | behind the content using a CSS pseudo-element with `z-index: -1`, preventing |
|
209 | 209 | text instead of the styled content itself. The selection boundary logic now |
210 | 210 | properly checks the next atom's style before advancing, preventing off-by-one |
211 | 211 | errors when determining style boundaries. |
| 212 | +- **#2892** Fixed superscripts and subscripts shifting upward when inside a |
| 213 | + `\colorbox` command. Elements with background colors now receive proper |
| 214 | + vertical alignment (`vertical-align: -depth`) to prevent positioning issues |
| 215 | + with content of different heights. The fix also ensures background colors use |
| 216 | + the correct color palette (background colors instead of foreground colors) and |
| 217 | + maintains editability via the background color menu. Selection highlighting no |
| 218 | + longer causes subscripts to shift, as vertical alignment is only applied to |
| 219 | + intentional background colors, not selection highlights. |
212 | 220 |
|
213 | 221 | ## 0.107.1 _2025-09-30_ |
214 | 222 |
|
|
0 commit comments