enhance(ui): simplify codes for modals

This commit is contained in:
charlie
2024-08-01 16:28:36 +08:00
parent e0e19c6f27
commit ea58da6083
5 changed files with 15 additions and 158 deletions

View File

@@ -1535,7 +1535,7 @@
(path/get-relative-path current-file-fpath file-path))
file-path))
(defn upload-asset
(defn upload-asset!
"Paste asset and insert link to current editing block"
[id ^js files format uploading? drop-or-paste?]
(let [repo (state/get-current-repo)]