mirror of https://github.com/logseq/logseq
fix: don't insert pair only when cursor is in between
parent
3a87fd7a49
commit
e59b82d577
|
@ -505,9 +505,7 @@
|
|||
|
||||
(and
|
||||
(contains? (set (keys editor-handler/reversed-autopair-map)) key)
|
||||
(or
|
||||
(= (editor-handler/get-previous-input-char input) key)
|
||||
(= (editor-handler/get-current-input-char input) key)))
|
||||
(= (editor-handler/get-current-input-char input) key))
|
||||
(do
|
||||
(util/stop e)
|
||||
(util/cursor-move-forward input 1))
|
||||
|
|
Loading…
Reference in New Issue