mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
feat!: File Sync (#5355)
- file sync for electron/ios/android - age encryption of both file content and file path - massive UI enhancement - corresponding CI tasks Co-authored-by: llcc <lzhes43@gmail.com> Co-authored-by: rcmerci <rcmerci@gmail.com> Co-authored-by: Tienson Qin <tiensonqin@gmail.com> Co-authored-by: Andelf <andelf@gmail.com> Co-authored-by: Gabriel Horner <gabriel@logseq.com>
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
(cond
|
||||
;; image type
|
||||
(and format (contains? (gp-config/img-formats) format))
|
||||
[:img {:src path}]
|
||||
[:img {:src (util/node-path.join "file://" path)}]
|
||||
|
||||
(and format (contains? (gp-config/text-formats) format))
|
||||
(when-let [file-content (or (db/get-file path) "")]
|
||||
|
||||
Reference in New Issue
Block a user