mirror of https://github.com/logseq/logseq
enhance: clear text selection when blocks are selected
parent
88d4dea61f
commit
9dce190204
|
@ -1787,7 +1787,8 @@
|
|||
(assoc mouse-down-key (fn [e]
|
||||
(block-content-on-mouse-down e block block-id properties content format edit-input-id))))]
|
||||
[:div.block-content.inline
|
||||
(cond-> {:id (str "block-content-" uuid)}
|
||||
(cond-> {:id (str "block-content-" uuid)
|
||||
:on-mouse-up util/clear-selection!}
|
||||
(not slide?)
|
||||
(merge attrs))
|
||||
|
||||
|
|
|
@ -15,8 +15,7 @@
|
|||
(let [roam-importing? (rum/react *roam-importing?)
|
||||
opml-importing? (rum/react *opml-importing?)]
|
||||
[:div#import
|
||||
[:h1.title "Import JSON from Roam Research (experimental)"]
|
||||
[:p.text-sm.mb-8 "Export to Roam Research is coming!"]
|
||||
[:h1.title "Import JSON from Roam Research"]
|
||||
|
||||
[:input
|
||||
{:id "import-roam"
|
||||
|
|
Loading…
Reference in New Issue