mirror of
https://github.com/logseq/logseq.git
synced 2026-04-26 07:05:10 +00:00
button and cmdk
This commit is contained in:
@@ -415,12 +415,8 @@
|
||||
(when config-edit?
|
||||
{:hintOptions {}})
|
||||
user-options)
|
||||
theme-mode (state/sub :ui/theme)
|
||||
system-theme-mode (state/sub :ui/system-theme)
|
||||
editor (when textarea
|
||||
(from-textarea textarea (clj->js cm-options)))
|
||||
element-key (str "editor-" id "-" radix-color "-" theme-mode "-" system-theme-mode "-" theme)]
|
||||
(js/console.log "element-key: " element-key theme)
|
||||
(from-textarea textarea (clj->js cm-options)))]
|
||||
(when editor
|
||||
(let [textarea-ref (rum/ref-node state textarea-ref-name)
|
||||
element (.getWrapperElement editor)]
|
||||
|
||||
Reference in New Issue
Block a user