tldraw/apps
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
..
docs [docs] Fix mailtos (#2961) 2024-02-27 08:27:22 +00:00
dotcom Don't add editor / app to window. (#2995) 2024-02-29 15:42:36 +00:00
dotcom-asset-upload Faster validations + record reference stability at the same time (#2848) 2024-02-20 12:35:25 +00:00
dotcom-bookmark-extractor bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
dotcom-worker Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
examples Don't add editor / app to window. (#2995) 2024-02-29 15:42:36 +00:00
health-worker bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00
huppy Check tsconfig "references" arrays (#2891) 2024-02-21 13:07:53 +00:00
vscode bump typescript / api-extractor (#2949) 2024-02-25 11:43:17 +00:00