Skip to content

Commit 7bf2997

Browse files
florindmtrFlorin Dumitru
authored andcommitted
FS-11959: add disableAltText option (#576)
Co-authored-by: Florin Dumitru <florin.dumitru@gurock.io>
1 parent a6687dd commit 7bf2997

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/lib/picker.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,6 +513,10 @@ export interface PickerOptions {
513513
* When true removes ability to edit images.
514514
*/
515515
disableTransformer?: boolean;
516+
/**
517+
* Disables alt text view/edit in the summary screen.
518+
*/
519+
disableAltText?: boolean;
516520
/**
517521
* Disables local image thumbnail previews in the summary screen.
518522
*/

src/schema/picker.schema.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,9 @@ export const PickerParamsSchema = {
140140
disableTransformer: {
141141
type: 'boolean',
142142
},
143+
disableAltText: {
144+
type: 'boolean',
145+
},
143146
disableThumbnails: {
144147
type: 'boolean',
145148
},

0 commit comments

Comments
 (0)