Skip to content

Commit

Permalink
New: Enable Preview support for iWork file types (#741)
Browse files Browse the repository at this point in the history
- Enables previews for '.key', '.pages', & '.numbers' file extensions
  • Loading branch information
pramodsum authored Mar 27, 2018
1 parent 234feb0 commit 8039f1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/lib/extensions.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ export const DOCUMENT_EXTENSIONS = CODE_EXTENSIONS.concat(NON_CODE_EXTENSIONS)
'gsheet',
'gslide',
'gslides',
'pages',
'numbers',
'key',
'msg',
'odp',
'ods',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/viewers/doc/DocLoader.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const VIEWERS = [
NAME: 'Presentation',
CONSTRUCTOR: PresentationViewer,
REP: 'pdf',
EXT: ['gslide', 'gslides', 'odp', 'ppt', 'pptx']
EXT: ['gslide', 'gslides', 'odp', 'ppt', 'pptx', 'key']
},
{
NAME: 'Document',
Expand Down

0 comments on commit 8039f1d

Please sign in to comment.