Merge remote-tracking branch 'origin/release' into danieljgeiger-mathjax

This commit is contained in:
Daniel J. Geiger 2023-04-08 09:52:03 -05:00
commit ef347cc685
40 changed files with 1265 additions and 426 deletions

View file

@ -225,7 +225,12 @@ export type SubtypeMethods = {
measureText: (
element: Pick<
ExcalidrawTextElement,
"subtype" | "customData" | "fontSize" | "fontFamily" | "text"
| "subtype"
| "customData"
| "fontSize"
| "fontFamily"
| "text"
| "lineHeight"
>,
next?: {
fontSize?: number;
@ -247,7 +252,12 @@ export type SubtypeMethods = {
wrapText: (
element: Pick<
ExcalidrawTextElement,
"subtype" | "customData" | "fontSize" | "fontFamily" | "originalText"
| "subtype"
| "customData"
| "fontSize"
| "fontFamily"
| "originalText"
| "lineHeight"
>,
containerWidth: number,
next?: {