tldraw/packages/assets
Steve Ruiz 6d417577be
Prevent iframe embedding for dotcom (except on tldraw.com) (#2947)
This PR fixes a check on whether the dot com multiplayer editor has been
loaded in an iframe.

It tries to keep it working on tldraw.com itself.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. Load me in an iframe
2024-02-26 18:30:55 +00:00
..
api-extractor.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
api-report.md Revert "Update dependencies (#1613)" (#1617) 2023-06-19 09:49:44 +00:00
CHANGELOG.md Update CHANGELOG.md [skip ci] 2024-02-21 15:28:00 +00:00
imports.d.ts Asset improvements (#1557) 2023-06-09 11:43:01 +00:00
imports.js Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
imports.vite.d.ts [dotcom] Delete service worker, cache tldraw assets (#2552) 2024-01-19 15:31:01 +00:00
imports.vite.js Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
LICENSE.md Change licenses to tldraw (#2167) 2023-12-19 10:41:01 +00:00
modules.d.ts transfer-out: transfer out 2023-04-25 12:01:25 +01:00
package.json bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
README.md Fix trademark links (#2380) 2023-12-26 09:22:04 +00:00
selfHosted.d.ts Asset improvements (#1557) 2023-06-09 11:43:01 +00:00
selfHosted.js Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
tsconfig.json Check tsconfig "references" arrays (#2891) 2024-02-21 13:07:53 +00:00
types.d.ts Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
urls.d.ts Asset improvements (#1557) 2023-06-09 11:43:01 +00:00
urls.js Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
utils.d.ts Asset improvements (#1557) 2023-06-09 11:43:01 +00:00
utils.js Asset improvements (#1557) 2023-06-09 11:43:01 +00:00

@tldraw/assets

This package contains assets that are used by tldraw, including icons and fonts.

Community

Have questions, comments or feedback? Join our discord or start a discussion.

Distributions

You can find tldraw on npm here.

Contribution

Please see our contributing guide. Found a bug? Please submit an issue.

License

The tldraw source code and its distributions are provided under the tldraw license. This license does not permit commercial use.

If you wish to use this project in commercial product, you need to purchase a commercial license. Please contact us at hello@tldraw.com for more inforion about obtaining a commercial license.

Trademarks

Copyright (c) 2023-present tldraw Inc. The tldraw name and logo are trademarks of tldraw. Please see our trademark guidelines for info on acceptable usage.

Contact

Find us on Twitter at @tldraw or email hello@tldraw.com. You can also join our discord for quick help and support.