Skip to content

Commit

Permalink
FS-11959: add disableAltText option (#576)
Browse files Browse the repository at this point in the history
Co-authored-by: Florin Dumitru <[email protected]>
  • Loading branch information
florindmtr and Florin Dumitru authored Nov 8, 2024
1 parent 1d9b356 commit f0eb448
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/picker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,10 @@ export interface PickerOptions {
* When true removes ability to edit images.
*/
disableTransformer?: boolean;
/**
* Disables alt text view/edit in the summary screen.
*/
disableAltText?: boolean;
/**
* Disables local image thumbnail previews in the summary screen.
*/
Expand Down
3 changes: 3 additions & 0 deletions src/schema/picker.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ export const PickerParamsSchema = {
disableTransformer: {
type: 'boolean',
},
disableAltText: {
type: 'boolean',
},
disableThumbnails: {
type: 'boolean',
},
Expand Down

0 comments on commit f0eb448

Please sign in to comment.