mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-18 19:54:35 +01:00
chore: simplify line-break regexes, separate text wrapping (#8715)
This commit is contained in:
@@ -340,7 +340,6 @@ import {
|
||||
isValidTextContainer,
|
||||
measureText,
|
||||
normalizeText,
|
||||
wrapText,
|
||||
} from "../element/textElement";
|
||||
import {
|
||||
showHyperlinkTooltip,
|
||||
@@ -461,6 +460,7 @@ import {
|
||||
vectorNormalize,
|
||||
} from "../../math";
|
||||
import { cropElement } from "../element/cropElement";
|
||||
import { wrapText } from "../element/textWrapping";
|
||||
|
||||
const AppContext = React.createContext<AppClassProperties>(null!);
|
||||
const AppPropsContext = React.createContext<AppProps>(null!);
|
||||
|
||||
Reference in New Issue
Block a user