Added resize option to Pintura (#18504)

Got some code for us? Awesome 🎊!

Please include a description of your change & check your PR against this
list, thanks!

- [ ] There's a clear use-case for this code change, explained below
- [ ] Commit message has a short title & references relevant issues
- [ ] The build will pass (run `yarn test:all` and `yarn lint`)

We appreciate your contribution!

---

<!-- Leave the line below if you'd like GitHub Copilot to generate a
summary from your commit -->
copilot:summary
This commit is contained in:
Nick Moreton 2023-10-05 14:08:23 +01:00 committed by GitHub
parent 45f704ce86
commit 8122f02f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -163,7 +163,8 @@ export default function usePinturaEditor({
'redact',
'annotate',
'trim',
'frame'
'frame',
'resize'
],
frameOptions: [
// No frame

View File

@ -158,7 +158,8 @@ export default class KoenigImageEditor extends Component {
'redact',
'annotate',
'trim',
'frame'
'frame',
'resize'
],
frameOptions: [
// No frame