enhance: use block dom node for editing instead of container

This commit is contained in:
Tienson Qin
2023-10-10 21:40:26 +08:00
parent e6b605e8e5
commit d9ab81e00d
11 changed files with 254 additions and 222 deletions

View File

@@ -195,7 +195,7 @@
(defn on-chosen-handler
[input id _q pos format]
(let [current-pos (cursor/pos input)
edit-content (state/sub :editor/content :path-in-sub-atom id)
edit-content (state/get-edit-content)
action (state/get-editor-action)
hashtag? (= action :page-search-hashtag)
q (or