mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3357] text viewer fixes (#3800)
* text viewer fixes * allow viewing 'css' and 'md' files as text
This commit is contained in:
committed by
Eugenio Romano
parent
61de424bab
commit
9a9c3dbfbc
@@ -234,7 +234,7 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
|
||||
private extensions = {
|
||||
image: ['png', 'jpg', 'jpeg', 'gif', 'bpm', 'svg'],
|
||||
media: ['wav', 'mp4', 'mp3', 'webm', 'ogg'],
|
||||
text: ['txt', 'xml', 'js', 'html', 'json', 'ts'],
|
||||
text: ['txt', 'xml', 'js', 'html', 'json', 'ts', 'css', 'md'],
|
||||
pdf: ['pdf']
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user