chore: clean up and some docs

This commit is contained in:
Weihua Lu
2021-06-10 14:46:38 +08:00
committed by Tienson Qin
parent 7d8ff2f2b5
commit 24d75ccd26
4 changed files with 33 additions and 36 deletions

View File

@@ -712,7 +712,7 @@
(when container
{:last-edit-block edit-block
:container (gobj/get container "id")
:pos (util/get-input-pos (gdom/getElement edit-input-id))})))
:pos (cursor/pos (gdom/getElement edit-input-id))})))
(defn set-editing!
([edit-input-id content block cursor-range]