mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
fix: code block in published graph is not copyable
This commit is contained in:
@@ -230,7 +230,7 @@
|
||||
cm-options (merge default-cm-options
|
||||
(extra-codemirror-options)
|
||||
{:mode mode
|
||||
:readOnly (if ui-config/publishing? "nocursor" false)
|
||||
:readOnly (if ui-config/publishing? true false)
|
||||
:extraKeys #js {"Esc" (fn [cm]
|
||||
;; Avoid reentrancy
|
||||
(gobj/set cm "escPressed" true)
|
||||
|
||||
Reference in New Issue
Block a user