Skip to content

Commit

Permalink
Merge pull request #2975 from nextcloud/backport/stable24/heic-heif-s…
Browse files Browse the repository at this point in the history
…upport
  • Loading branch information
juliusknorr authored Sep 26, 2022
2 parents 1f6d09a + 1af6cb4 commit fdcf2fc
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 22 deletions.
4 changes: 2 additions & 2 deletions js/editor-rich.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor-rich.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/editor.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/editor.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/files-modal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/files-modal.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions js/text-files.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-files.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-public.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-public.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-text.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-text.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/text-viewer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/text-viewer.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions lib/Controller/ImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ class ImageController extends Controller {
'image/bmp',
'image/svg+xml',
'image/webp',
'image/heic',
'image/heif',
];

/**
Expand Down
2 changes: 2 additions & 0 deletions src/components/EditorWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ const IMAGE_MIMES = [
'image/bmp',
'image/svg+xml',
'image/webp',
'image/heic',
'image/heif',
]

export default {
Expand Down
2 changes: 1 addition & 1 deletion src/components/MenuBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"
aria-hidden="true"
class="hidden-visually"
:multiple="true"
Expand Down

0 comments on commit fdcf2fc

Please sign in to comment.