mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 15:15:01 +00:00
Update code edit for the codeblocks that are opened in main area and sidebar,or as embeds
This commit is contained in:
@@ -260,6 +260,8 @@
|
||||
state)
|
||||
:did-update (fn [state]
|
||||
(reset! (:code-options state) (last (:rum/args state)))
|
||||
(.setValue @(:editor-atom state)
|
||||
(string/join "" (butlast (:lines (last (:rum/args state))))))
|
||||
state)}
|
||||
[state _config id attr code _theme _options]
|
||||
[:div.extensions__code
|
||||
|
||||
Reference in New Issue
Block a user