chore: simplify line-break regexes, separate text wrapping (#8715)

This commit is contained in:
Marcel Mraz
2024-10-30 14:24:12 +01:00
committed by GitHub
parent dfaaff4432
commit 2734e646ca
11 changed files with 1213 additions and 1039 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import type { ExcalidrawProps } from "../types";
import { getFontString, updateActiveTool } from "../utils";
import { setCursorForShape } from "../cursor";
import { newTextElement } from "./newElement";
import { wrapText } from "./textElement";
import { wrapText } from "./textWrapping";
import { isIframeElement } from "./typeChecks";
import type {
ExcalidrawElement,