fix: code block in published graph is not copyable

This commit is contained in:
Peng Xiao
2022-04-19 16:35:14 +08:00
committed by Tienson Qin
parent 488b56b8a7
commit bdf18a0793

View File

@@ -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)