Skip to content

Fix: add config media types to files list in dropdown#1913

Merged
I-Valchev merged 1 commit intobolt:masterfrom
denis-gorin:issue-1910-config-media-to-files-dropdown
Sep 28, 2020
Merged

Fix: add config media types to files list in dropdown#1913
I-Valchev merged 1 commit intobolt:masterfrom
denis-gorin:issue-1910-config-media-to-files-dropdown

Conversation

@denis-gorin
Copy link
Copy Markdown
Contributor

@denis-gorin denis-gorin commented Sep 28, 2020

Fixes #1910

get rid from hardcoded types in "Library" files dropdown (was missing .svg type)

add support to configure this types from config media types

# src: config\bolt\config.yaml

accept_media_types: [ gif, jpg, jpeg, png, svg, pdf, mp3, tiff ]

Copy link
Copy Markdown
Member

@I-Valchev I-Valchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Looks great, thanks @denis-gorin !

@I-Valchev I-Valchev merged commit 922d708 into bolt:master Sep 28, 2020
@bobdenotter bobdenotter changed the title add config media types to files list in dropdown Fix: add config media types to files list in dropdown Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collection > image > upload > "from library" button doesn't work

2 participants