tldraw / tldraw

SDK for creating whiteboards and canvas experiences on the web.
https://tldraw.dev
Other
33.04k stars 1.98k forks source link

embed: prevent nested tldraw #3659

Closed mimecuvalo closed 2 weeks ago

mimecuvalo commented 2 weeks ago

don't allow infinite nesting :)

Screenshot 2024-04-30 at 12 02 41

Change Type

Release Notes

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview Apr 30, 2024 11:05am
1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **tldraw-docs** | ⬜️ Ignored ([Inspect](https://vercel.com/tldraw/tldraw-docs/Cunn8Pa3U1VURnZf1gmjPtPGmg2y)) | | Apr 30, 2024 11:05am |
MitjaBezensek commented 2 weeks ago

I guess this will prevent 1 level deep nesting if people embed this somewhere else.

So on tldraw.com nesting a room inside a room will work. But doing the same inside notion won't. I'm fine with that tbh, but we'll see if somebody complains.