Przeglądaj źródła

fix: avoid flickr when editing another block

Tienson Qin 4 miesięcy temu
rodzic
commit
c2d5214d13
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      src/main/frontend/components/editor.cljs

+ 1 - 2
src/main/frontend/components/editor.cljs

@@ -800,8 +800,7 @@
                                       (when (= (util/ekey e) "Escape")
                                       (when (= (util/ekey e) "Escape")
                                         (editor-on-hide state :esc e))))
                                         (editor-on-hide state :esc e))))
                :auto-focus true
                :auto-focus true
-               :autocapitalize "off"
-               :autocorrect "off"
+               :auto-capitalize "off"
                :class heading-class}
                :class heading-class}
                (some? parent-block)
                (some? parent-block)
                (assoc :parentblockid (str (:block/uuid parent-block)))
                (assoc :parentblockid (str (:block/uuid parent-block)))