Merge branch 'master' into feat/cmdk

This commit is contained in:
Ben Yorke
2023-10-16 21:02:12 +02:00
124 changed files with 3111 additions and 1793 deletions

View File

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