Commit c94f7ee
authored
Added Documents viewer plugin id to load pdf/excel/csv etc. files
the Documents Viewer plugin/extension provides the view support for multiple types of documents like pdf, csv, xlsx, docs etc developed and maintained by user 1446 ( HACKESOFICE ).
## Problem
> when user opens these files directly through file manager => open with Acode then Acode opens these files directly to the text editor, which is not useful as these files are binary files.## Reason> Acode at first ( startup ) loads only plugins which are listed in List / Arrary ( HEME_IDENTIFIERS ) then other plugins ( Documents viewer also ) are loaded after Successful app startup. so the file handlers are regestering after file load and user see's only bytes as text.
## Solution
> Added The Documents Viewer plugin id ( Which is "documentsviewer" ) in HEME_IDENTIFIERS LIst / Array.
## Expected Workflow / behaviorUser
> Clicks on Acode app => load all plugins with the id avilable in HEME_IDENTIFIERS ( Now Documents Viewer Also ) => then Load Files.
## Why It'll Work
> Because of Acode will now load the plugin ( if avilable ) at startup so all the file handlers will be registered before loading/opening the particular files.1 parent c3754b2 commit c94f7ee
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
0 commit comments