mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Merge remote-tracking branch 'origin/release' into danieljgeiger-mathjax
This commit is contained in:
commit
ef347cc685
40 changed files with 1265 additions and 426 deletions
|
@ -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?: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue