enhance: j jump to a property key or value (selection mode)

We can support jump to any block in the future.
More enhancements need to be done including:
1. still focus on the block or property key/value after any property
operation
2. up/down/left/right support maybe?
This commit is contained in:
Tienson Qin
2024-02-28 21:30:49 +08:00
parent 7cec0e696f
commit 623043d363
10 changed files with 136 additions and 44 deletions

View File

@@ -150,7 +150,8 @@
(when (fn? tap-*input-val)
(tap-*input-val input))
[:div.cp__select
(merge {:class "cp__select-main"} host-opts)
(merge {:class "cp__select-main"}
host-opts)
(if dropdown?
(ui/dropdown