mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 02:46:45 +00:00
fix: can't create blocks after using template
This commit is contained in:
@@ -1828,8 +1828,7 @@
|
||||
(text/remove-property "template")
|
||||
(text/remove-property "including-parent")
|
||||
template/resolve-dynamic-template!)))
|
||||
;; restore state & remove '/' char
|
||||
(state/set-editor-show-template-search! false)
|
||||
(clear-when-saved!)
|
||||
(insert-command! id "" format {}))
|
||||
(when-let [input (gdom/getElement id)]
|
||||
(.focus input))))
|
||||
|
||||
Reference in New Issue
Block a user