-
Notifications
You must be signed in to change notification settings - Fork 95
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
[stable24] Make it possible to insert heif/heic images #2975
Conversation
/compile |
@@ -24,7 +24,7 @@ | |||
<div class="menubar" :class="{ 'show': isVisible, 'autohide': autohide }"> | |||
<input ref="imageFileInput" | |||
type="file" | |||
accept="image/*" | |||
accept="image/*, image/heic, image/heif" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why it is necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know why but explicit heic/heif mime types have to be added in the
<input>
.
They are not shown with image/*.
131463e
to
2919e45
Compare
/compile |
Signed-off-by: Julien Veyssier <[email protected]>
dbc7a38
to
b38d87f
Compare
/compile |
Signed-off-by: nextcloud-command <[email protected]>
Manual backport of #2972
I don't know why but explicit heic/heif mime types have to be added in the
<input>
.They are not shown with
image/*
.If such files are inserted and the preview provider is not enabled (or does not work), Text behaves just like if we insert a corrupted image.