tldraw/packages/tlschema/src/shapes
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
..
TLArrowShape.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
TLBaseShape.ts Faster validations + record reference stability at the same time (#2848) 2024-02-20 12:35:25 +00:00
TLBookmarkShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLDrawShape.ts [tech debt] Primitives renaming party / cleanup (#2396) 2024-01-03 12:13:15 +00:00
TLEmbedShape.ts Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
TLFrameShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLGeoShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLGroupShape.ts mini defineShape API (#1563) 2023-06-12 14:04:14 +00:00
TLHighlightShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLImageShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLLineShape.ts Add line IDs & fractional indexes (#2890) 2024-02-21 10:06:14 +00:00
TLNoteShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00
TLTextShape.ts Styles API (#1580) 2023-06-16 10:33:47 +00:00
TLVideoShape.ts Add url validation (#2428) 2024-01-09 10:49:57 +00:00