tldraw/packages
Mitja Bezenšek 2c8b431c1f
[fix] Allow interactions with embeds in readonly mode (#1333)
Allow the users to interact with embeds in readonly mode. Not sure if
this should apply to all embeds (cc @orangemug for thoughts on this)?
For example, you can also start editing code sandbox embeds.

One thing that doesn't feel quite right is that readonly mode defaults
to the hand tool, so you always have to switch to select tool to get
this working. I guess moving around is still the more common action
though so 🤷

### Test Plan

1. Create a multiplayer room with some embeds (youtube videos, spotify
playlist).
2. Open the room in readonly mode.
3. Make sure you can interact with embeds. Double click / enter when
selected, you should then be able to play the youtube videos.

- [x] Unit Tests
- [ ] Webdriver tests

### Release Note

- Allow the users to interact with embeds in readonly mode.
2023-05-15 15:37:54 +00:00
..
assets Rework the assets package for strategy-specific imports (#1341) 2023-05-09 16:08:38 +00:00
editor [fix] Allow interactions with embeds in readonly mode (#1333) 2023-05-15 15:37:54 +00:00
file-format avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
polyfills avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
primitives avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tldraw avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlschema avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlstore avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlsync-client avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
tlvalidate avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
ui Add localizations for snapshots links (#1347) 2023-05-15 15:30:35 +00:00
utils avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00