mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
Merge branch 'master' into feat/cmdk
This commit is contained in:
@@ -500,7 +500,7 @@
|
||||
(when-not (:file? (first (:rum/args state)))
|
||||
(let [code (nth (:rum/args state) 3)
|
||||
editor @(:editor-atom state)]
|
||||
(when (not= (.getValue editor) code)
|
||||
(when (and editor (not= (.getValue editor) code))
|
||||
(.setValue editor code))))
|
||||
state)}
|
||||
[state _config id attr code _theme _options]
|
||||
|
||||
Reference in New Issue
Block a user