mirror of
https://github.com/logseq/logseq.git
synced 2026-04-27 07:35:01 +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:
@@ -209,7 +209,7 @@
|
||||
|
||||
(defn render!
|
||||
[state]
|
||||
(let [[config id attr _code theme] (:rum/args state)
|
||||
(let [[config id attr _code theme user-options] (:rum/args state)
|
||||
default-open? (and (:editor/code-mode? @state/state)
|
||||
(= (:block/uuid (state/get-edit-block))
|
||||
(get-in config [:block :block/uuid])))
|
||||
@@ -238,7 +238,8 @@
|
||||
(editor-handler/edit-block! block :max block-id))))}}
|
||||
(when config/publishing?
|
||||
{:readOnly true
|
||||
:cursorBlinkRate -1}))
|
||||
:cursorBlinkRate -1})
|
||||
user-options)
|
||||
editor (when textarea
|
||||
(from-textarea textarea (clj->js cm-options)))]
|
||||
(when editor
|
||||
|
||||
Reference in New Issue
Block a user