diff --git a/packages/tldraw/src/lib/shapes/shared/TextLabel.tsx b/packages/tldraw/src/lib/shapes/shared/TextLabel.tsx index 81adb2a9a..2b21c4988 100644 --- a/packages/tldraw/src/lib/shapes/shared/TextLabel.tsx +++ b/packages/tldraw/src/lib/shapes/shared/TextLabel.tsx @@ -104,8 +104,12 @@ export const TextLabel = React.memo(function TextLabel({ height: textHeight, }} > -
- {finalText} +
+ {finalText.split('\n').map((lineOfText, index) => ( +
+ {lineOfText} +
+ ))}
{(isEditingAnything || isSelected) && (