Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

denis-gorin
Copy link
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
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