|
|
@@ -585,11 +585,6 @@
|
|
|
(reset! (:last-theme state) next-theme)
|
|
|
(.setOption editor' "theme" next-theme)))
|
|
|
(reset! (:code-options state) (last (:rum/args state)))
|
|
|
- (when-not (:file? (first (:rum/args state)))
|
|
|
- (let [code (nth (:rum/args state) 3)
|
|
|
- editor' @(:editor-atom state)]
|
|
|
- (when (and editor' (not= (.getValue editor') code))
|
|
|
- (.setValue editor' code))))
|
|
|
state)}
|
|
|
[state _config id attr code _theme _options]
|
|
|
[:div.extensions__code.flex.flex-1
|