dfaa536370
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 |
||
---|---|---|
.. | ||
src | ||
api-extractor.json | ||
api-report.md | ||
CHANGELOG.md | ||
editor.css | ||
LICENSE | ||
package.json | ||
README.md | ||
setupTests.js | ||
tsconfig.json |
tldraw/tldraw
Benchmark
To run the benchmarks
yarn workspace @tldraw/tldraw benchmark
Or
yarn workspace @tldraw/tldraw benchmark "file_search_string"