mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 23:25:05 +00:00
only copy-as/export level<N blocks for text export
This commit is contained in:
@@ -227,6 +227,8 @@
|
||||
"dashes")
|
||||
:copy/export-block-text-remove-options (or (storage/get :copy/export-block-text-remove-options)
|
||||
#{})
|
||||
:copy/export-block-text-other-options (or (storage/get :copy/export-block-text-other-options)
|
||||
{})
|
||||
:date-picker/date nil
|
||||
|
||||
:youtube/players {}
|
||||
@@ -1756,6 +1758,13 @@ Similar to re-frame subscriptions"
|
||||
(storage/set :copy/export-block-text-remove-options
|
||||
(get-export-block-text-remove-options))))
|
||||
|
||||
(defn get-export-block-text-other-options []
|
||||
(:copy/export-block-text-other-options @state))
|
||||
|
||||
(defn update-export-block-text-other-options!
|
||||
[k v]
|
||||
(update-state! :copy/export-block-text-other-options #(assoc % k v)))
|
||||
|
||||
(defn set-editor-args!
|
||||
[args]
|
||||
(set-state! :editor/args args))
|
||||
|
||||
Reference in New Issue
Block a user