mirror of https://github.com/logseq/logseq
enhance: remove tag from editor after auto-complete
parent
15ac9b3bf8
commit
04907b1b3b
|
@ -325,7 +325,7 @@
|
||||||
(when class?
|
(when class?
|
||||||
(add-tag (state/get-current-repo) (:block/uuid edit-block) tag {:tag-entity tag-entity}))))))
|
(add-tag (state/get-current-repo) (:block/uuid edit-block) tag {:tag-entity tag-entity}))))))
|
||||||
(editor-handler/insert-command! id
|
(editor-handler/insert-command! id
|
||||||
(str "#" wrapped-tag)
|
(if class? "" (str "#" wrapped-tag))
|
||||||
format
|
format
|
||||||
{:last-pattern last-pattern
|
{:last-pattern last-pattern
|
||||||
:end-pattern (when wrapped? page-ref/right-brackets)
|
:end-pattern (when wrapped? page-ref/right-brackets)
|
||||||
|
|
Loading…
Reference in New Issue