7ac003cc05
Local images (like in our Local images example) could not be exported as svg. We need to base64 encode them, but our check only matched images with a `http` prefix, which local images like `/tldraw.png` don't have. Fixes an issue reported here https://discord.com/channels/859816885297741824/1198343938155745280/1198343938155745280 ### Change Type - [x] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [ ] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Use our Local images example. 2. Export as svg. 3. The export should correctly show the image. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Fix the svg export for images that have a local url. Co-authored-by: Steve Ruiz <steveruizok@gmail.com> |
||
---|---|---|
.. | ||
assets | ||
editor | ||
state | ||
store | ||
tldraw | ||
tlschema | ||
tlsync | ||
utils | ||
validate |