kopia lustrzana https://github.com/Tldraw/Tldraw
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 |
||
---|---|---|
.. | ||
reordering | ||
WeakMapCache.ts | ||
assets.test.ts | ||
assets.ts | ||
buildFromV1Document.ts | ||
data.ts | ||
debug-flags.ts | ||
dom.ts | ||
embeds.test.ts | ||
embeds.ts | ||
export.ts | ||
hard-reset.ts | ||
is-gif-animated.ts | ||
png.ts | ||
props-for-next-shape.ts | ||
refresh-page.ts | ||
rotation.ts | ||
runtime.ts | ||
string.ts | ||
svg.ts | ||
window-open.ts |