tldraw/packages
Steve Ruiz ae531da193
Don't add editor / app to window. (#2995)
This PR removes code that would add a reference to the editor to the
window. This is a feature that we added very early on during testing,
but which we should have moved out of the library earlier. Adding it
here as one of our last PRs before release.

If you've relied on this, you'll need to update your use of the library
to do it manually:

```ts
<Tldraw onMount={(editor) => {
  ;(window as any).app = editor
  ;(window as any).editor = editor
}}/>
```

### Change Type

- [x] `major` — Breaking change

### Release Notes

- Remove `window.editor` and `window.app` references to editor.
2024-02-29 15:42:36 +00:00
..
assets Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
editor Don't add editor / app to window. (#2995) 2024-02-29 15:42:36 +00:00
state bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
store bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
tldraw Adding a single E2E test per menu (#2954) 2024-02-29 13:21:10 +00:00
tlschema Setup papercuts (#2987) 2024-02-29 10:40:28 +00:00
tlsync bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
utils bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
validate bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00