enhance: align center bullets and headings

This commit is contained in:
Tienson Qin
2021-05-02 11:14:01 +08:00
parent 2cca6a46cf
commit 9a8b00a849
5 changed files with 21 additions and 14 deletions

View File

@@ -2051,7 +2051,7 @@
(util/cursor-move-back input 1)
(util/cursor-move-forward input 1))))))
(defn- delete-and-update [input start end]
(defn- delete-and-update [^js input start end]
(.setRangeText input "" start end)
(state/set-edit-content! (state/get-edit-input-id) (.-value input)))