Skip to content

[pull] main from tldraw:main#139

Merged
pull[bot] merged 3 commits intocode:mainfrom
tldraw:main
Aug 14, 2025
Merged

[pull] main from tldraw:main#139
pull[bot] merged 3 commits intocode:mainfrom
tldraw:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Aug 14, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

max-drake and others added 3 commits August 14, 2025 15:21
This adds an example, built on the `pdf-editor` example, for marking
exams. It adds a custom `exam-mark` shape with an input used for marking
questions (and associated tool for placing that shape), as well as a
widget that sums the total score of all of the the `exam-mark` shapes.

Most of the diff is from copy-pasting the components from the
`pdf-editor` example, see
- `add-mark-util.tsx`,
- `add-mark-tool.tsx`,
- `ExamScoreLabel.tsx`, and
- `ui-overrides.tsx`

for the bulk of the actual changes.

### Change type

- [ ] `bugfix`
- [ ] `improvement`
- [x] `feature`
- [ ] `api`
- [ ] `other`
Adds an example that shows how to build a lasso select tool. It also
addresses a new api feature: `EditorAtom`s, as well as `Overlays`, (and
the difference between Overlays and `InFrontOfTheCanvas`) which aren't
addressed in any example yet.


![lasso-select-final](https://github.com/user-attachments/assets/84c2463f-d9fd-401d-b331-ba33f05a3a14)

### API Changes
I needed some freehand stuff which hadn't been exported from the
`tldraw` package yet, @SomeHats seemed to think this was an oversight so
I exported it and included that in this PR. If that's an issue then lmk
and I will fix :)

### Change type

- [ ] `bugfix`
- [ ] `improvement`
- [x] `feature`
- [x] `api`
- [ ] `other`
Adds a workflow builder template. See the README for more information.

### Change type

- [x] `other`

### Release notes

### API Changes

- `TldrawUiToolbar` now accepts an optional `orientation` prop, which
can be either horizontal or vertical. It's horizontal by default.

---------

Co-authored-by: Mime Čuvalo <mimecuvalo@gmail.com>
Co-authored-by: SergioRiquelmeSanchez <sergioriquelmesanchez@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Aug 14, 2025
@pull pull Bot added the ⤵️ pull label Aug 14, 2025
@pull pull Bot had a problem deploying to deploy-staging August 14, 2025 21:13 Error
@pull pull Bot merged commit cb45622 into code:main Aug 14, 2025
@pull pull Bot had a problem deploying to deploy-production August 14, 2025 21:13 Error
@pull pull Bot had a problem deploying to deploy-staging August 14, 2025 21:13 Error
@pull pull Bot had a problem deploying to vsce publish August 14, 2025 21:13 Failure
@pull pull Bot had a problem deploying to deploy-staging August 15, 2025 00:24 Error
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants