tldraw/packages
alex 421102282d
Fix newlines in text geo shapes (#2059)
Previously, entering a geo shape and adding a bunch of newlines wouldn't
correctly update the shape's height. This fixes that.

### Change Type

- [x] `patch` — Bug fix


### Test Plan

1. Create a geo shape
2. Enter text editing mode
3. Spam the enter key
4. See that the shape grows appropriately
5. Exit editing and check that the trailing newlines have been deleted.

- [ ] Unit Tests
- [x] End to end tests

---------

Co-authored-by: huppy-bot[bot] <128400622+huppy-bot[bot]@users.noreply.github.com>
Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2023-10-10 12:58:28 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-10-06 15:18:15 +00:00
editor Fix newlines in text geo shapes (#2059) 2023-10-10 12:58:28 +00:00
state Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
store Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
tldraw Fix newlines in text geo shapes (#2059) 2023-10-10 12:58:28 +00:00
tlschema Remove fixup script (#2041) 2023-10-09 10:23:01 +00:00
utils Publish api.json (#2034) 2023-10-08 15:00:58 +00:00
validate Publish api.json (#2034) 2023-10-08 15:00:58 +00:00