tldraw/packages
Steve Ruiz dfaa536370
[fix] tabs in text exports (#1323)
This PR fixes the appearance of tabs in labels and text when exporting
images.

This involved refactoring our CSS-text-to-multiline-SVG-text.

### Test Plan

1. Create a text or geo shape with a label that includes a tab character
at the beginning of a line (e.g. jsx)
2. Copy the image as SVG and paste

### Release Note

- Fixes a bug with trailing tab characters in text labels on image
export
2023-05-11 09:20:48 +00:00
..
assets Rework the assets package for strategy-specific imports (#1341) 2023-05-09 16:08:38 +00:00
editor [fix] tabs in text exports (#1323) 2023-05-11 09:20:48 +00:00
file-format readmes 2023-05-04 13:47:56 +01:00
polyfills readmes 2023-05-04 13:47:56 +01:00
primitives readmes 2023-05-04 13:47:56 +01:00
tldraw New vite-based examples app (#1226) 2023-05-05 13:10:36 +00:00
tlschema Rework the assets package for strategy-specific imports (#1341) 2023-05-09 16:08:38 +00:00
tlstore readmes 2023-05-04 13:47:56 +01:00
tlsync-client readmes 2023-05-04 13:47:56 +01:00
tlvalidate readmes 2023-05-04 13:47:56 +01:00
ui Fix "copy as png" in firefox when dom.events.asyncClipboard.clipboardItem is enabled (#1342) 2023-05-11 06:59:45 +00:00
utils readmes 2023-05-04 13:47:56 +01:00