mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Using the new preview route to show the attachment in webui
This commit is contained in:
parent
8908ad2561
commit
533396d386
@ -32,8 +32,6 @@ considering docspell at the moment. Hopefully they will be resolved
|
||||
eventually….
|
||||
|
||||
- Only PDF files possible for now.
|
||||
- The PDF view in the Web-UI relies on the browsers capabilities.
|
||||
Sadly, not all browsers can display PDF files. Some may require
|
||||
extra plugins. And it's especially sad, that mobile browsers wont't
|
||||
display the files. It works with the major desktop browsers
|
||||
(firefox, chromium), though.
|
||||
- No fulltext search implemented. This currently has very low
|
||||
priority, because I myself never needed it. Open an issue if you
|
||||
find it important.
|
||||
|
@ -1202,7 +1202,9 @@ renderAttachmentView model pos attach =
|
||||
, ( "invisible hidden", isAttachMetaOpen model attach.id )
|
||||
]
|
||||
]
|
||||
[ embed [ src fileUrl, type_ attach.contentType ]
|
||||
[ iframe
|
||||
[ src (fileUrl ++ "/view")
|
||||
]
|
||||
[]
|
||||
]
|
||||
, div
|
||||
|
Loading…
x
Reference in New Issue
Block a user