Prechádzať zdrojové kódy

fix: template insert

Tienson Qin 4 rokov pred
rodič
commit
4897a88bfc
1 zmenil súbory, kde vykonal 0 pridanie a 5 odobranie
  1. 0 5
      src/main/frontend/commands.cljs

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

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