Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [Unreleased]

- Added experimental `free-math` multiline mathfield mode alongside `free-text`, preserving rows, empty lines, tabs, clipboard plain text, and public output formats when values are round-tripped.
- Fixed `free-text` fields to resolve direction independently for every line, keep mixed Hebrew/Latin prose in Unicode bidi order, isolate math and active LaTeX runs as LTR, and render the visual caret beside the logical insertion point instead of pinning it to the RTL edge.

## 0.110.0 _2026-06-08_

### Security Advisories
Expand Down
8 changes: 8 additions & 0 deletions css/core.less
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@
white-space: pre;
}

.ML__text.ML__underline {
text-decoration: underline;
}

.ML__text.ML__line-through {
text-decoration: line-through;
}

/* Use cmr for 'math upright' */
.ML__cmr {
font-family: KaTeX_Main;
Expand Down
34 changes: 34 additions & 0 deletions css/mathfield.less
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,40 @@
}
}

// Free-text is a text editor whose lines happen to use MathLive's multiline
// array model. Keep the editor at the host's logical start rather than using
// the centered formula presentation. In RTL fields flex-start is the right
// edge, while the nested formula renderer remains LTR for math islands.
.ML__content:has(.ML__free-text-root) {
justify-content: flex-start;
text-align: start;
}

:host([dir='rtl']) .ML__free-text-root {
direction: rtl;
}

:host([dir='ltr']) .ML__free-text-root {
direction: ltr;
}

.ML__free-text-root .col-align-l > .ML__vlist-t {
text-align: start;
}

.ML__free-text-line {
text-align: start;
}

.ML__free-text-line[dir='auto'] {
unicode-bidi: plaintext;
}

.ML__free-text-math-island {
direction: ltr;
unicode-bidi: isolate;
}

/* Container for the virtual keyboard toggle and menu toggle buttons */
.ML__toggles {
display: flex;
Expand Down
Binary file added dist/fonts/KaTeX_AMS-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Caligraphic-Bold.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Caligraphic-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Fraktur-Bold.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Fraktur-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Main-Bold.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Main-BoldItalic.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Main-Italic.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Main-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Math-BoldItalic.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Math-Italic.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_SansSerif-Bold.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_SansSerif-Italic.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_SansSerif-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Script-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Size1-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Size2-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Size3-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Size4-Regular.woff2
Binary file not shown.
Binary file added dist/fonts/KaTeX_Typewriter-Regular.woff2
Binary file not shown.
Loading