chore: simplify line-break regexes, separate text wrapping (#8715)
This commit is contained in:
@@ -7,11 +7,8 @@ import {
|
||||
getFontFamilyFallbacks,
|
||||
} from "../constants";
|
||||
import { isTextElement } from "../element";
|
||||
import {
|
||||
charWidth,
|
||||
containsCJK,
|
||||
getContainerElement,
|
||||
} from "../element/textElement";
|
||||
import { charWidth, getContainerElement } from "../element/textElement";
|
||||
import { containsCJK } from "../element/textWrapping";
|
||||
import { ShapeCache } from "../scene/ShapeCache";
|
||||
import { getFontString, PromisePool, promiseTry } from "../utils";
|
||||
import { ExcalidrawFontFace } from "./ExcalidrawFontFace";
|
||||
|
||||
Reference in New Issue
Block a user