mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: add first-class support for CJK (#8530)
This commit is contained in:
parent
21815fb930
commit
b479f3bd65
288 changed files with 3559 additions and 918 deletions
|
@ -2171,7 +2171,7 @@ exports[`Test Transform > should transform to labelled arrows when label provide
|
|||
"strokeColor": "#1098ad",
|
||||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "ANOTHER STYLED
|
||||
"text": "ANOTHER STYLED
|
||||
LABELLED ARROW",
|
||||
"textAlign": "center",
|
||||
"type": "text",
|
||||
|
@ -2179,8 +2179,8 @@ LABELLED ARROW",
|
|||
"version": 3,
|
||||
"versionNonce": Any<Number>,
|
||||
"verticalAlign": "middle",
|
||||
"width": 150,
|
||||
"x": 75,
|
||||
"width": 140,
|
||||
"x": 80,
|
||||
"y": 275,
|
||||
}
|
||||
`;
|
||||
|
@ -2213,7 +2213,7 @@ exports[`Test Transform > should transform to labelled arrows when label provide
|
|||
"strokeColor": "#099268",
|
||||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "ANOTHER STYLED
|
||||
"text": "ANOTHER STYLED
|
||||
LABELLED ARROW",
|
||||
"textAlign": "center",
|
||||
"type": "text",
|
||||
|
@ -2221,8 +2221,8 @@ LABELLED ARROW",
|
|||
"version": 3,
|
||||
"versionNonce": Any<Number>,
|
||||
"verticalAlign": "middle",
|
||||
"width": 150,
|
||||
"x": 75,
|
||||
"width": 140,
|
||||
"x": 80,
|
||||
"y": 375,
|
||||
}
|
||||
`;
|
||||
|
@ -2518,7 +2518,7 @@ exports[`Test Transform > should transform to text containers when label provide
|
|||
"strokeColor": "#1e1e1e",
|
||||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "ELLIPSE TEXT
|
||||
"text": "ELLIPSE TEXT
|
||||
CONTAINER",
|
||||
"textAlign": "center",
|
||||
"type": "text",
|
||||
|
@ -2526,8 +2526,8 @@ CONTAINER",
|
|||
"version": 3,
|
||||
"versionNonce": Any<Number>,
|
||||
"verticalAlign": "middle",
|
||||
"width": 130,
|
||||
"x": 534.7893218813452,
|
||||
"width": 120,
|
||||
"x": 539.7893218813452,
|
||||
"y": 117.44796179957173,
|
||||
}
|
||||
`;
|
||||
|
@ -2562,7 +2562,7 @@ TEXT CONTAINER",
|
|||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "DIAMOND
|
||||
TEXT
|
||||
TEXT
|
||||
CONTAINER",
|
||||
"textAlign": "center",
|
||||
"type": "text",
|
||||
|
@ -2646,8 +2646,8 @@ exports[`Test Transform > should transform to text containers when label provide
|
|||
"strokeColor": "#c2255c",
|
||||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "TOP LEFT ALIGNED
|
||||
RECTANGLE TEXT
|
||||
"text": "TOP LEFT ALIGNED
|
||||
RECTANGLE TEXT
|
||||
CONTAINER",
|
||||
"textAlign": "left",
|
||||
"type": "text",
|
||||
|
@ -2655,7 +2655,7 @@ CONTAINER",
|
|||
"version": 3,
|
||||
"versionNonce": Any<Number>,
|
||||
"verticalAlign": "top",
|
||||
"width": 170,
|
||||
"width": 160,
|
||||
"x": 505,
|
||||
"y": 305,
|
||||
}
|
||||
|
@ -2689,8 +2689,8 @@ exports[`Test Transform > should transform to text containers when label provide
|
|||
"strokeColor": "#c2255c",
|
||||
"strokeStyle": "solid",
|
||||
"strokeWidth": 2,
|
||||
"text": "STYLED
|
||||
ELLIPSE TEXT
|
||||
"text": "STYLED
|
||||
ELLIPSE TEXT
|
||||
CONTAINER",
|
||||
"textAlign": "center",
|
||||
"type": "text",
|
||||
|
@ -2698,8 +2698,8 @@ CONTAINER",
|
|||
"version": 3,
|
||||
"versionNonce": Any<Number>,
|
||||
"verticalAlign": "middle",
|
||||
"width": 130,
|
||||
"x": 534.7893218813452,
|
||||
"width": 120,
|
||||
"x": 539.7893218813452,
|
||||
"y": 522.5735931288071,
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue