1
0
Эх сурвалжийг харах

fix: rm space when showing template popup

Andelf 4 жил өмнө
parent
commit
fae3f73662

+ 3 - 0
src/main/frontend/commands.cljs

@@ -377,6 +377,9 @@
           postfix (subs edit-content current-pos)
           postfix (if postfix-fn (postfix-fn postfix) postfix)
           new-value (cond
+                      (string/blank? postfix)
+                      prefix
+
                       space?
                       (util/concat-without-spaces prefix postfix)