Conversation
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.  ### 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 : )