Tienson Qin
da3970d531
refactor: block && page properties
2021-04-15 12:02:35 +08:00
Tienson Qin
d0abccde62
fix: linked && unlinked references
2021-04-15 10:08:40 +08:00
Tienson Qin
d8562c609a
fix: support page properties
2021-04-14 23:48:36 +08:00
Tienson Qin
c81e5259e9
fix: jump cursor
2021-04-14 23:38:43 +08:00
rcmerci
abbc2d2127
chore: clear code
2021-04-14 17:59:50 +08:00
rcmerci
fa4dad5a6b
refactor: copy & paste
2021-04-14 17:48:29 +08:00
Tienson Qin
50f92f7100
fix: undo cursor
...
Also, switched to a timeout instead of periodically saving the current block.
2021-04-14 17:33:16 +08:00
Tienson Qin
e873690a8b
refactor: switch back to store properties directly in plain-text
2021-04-14 10:51:14 +08:00
Weihua Lu
073e0cc554
fix: handle up down selection
2021-04-13 18:26:09 +08:00
Weihua Lu
f4ae38308e
fix: handle left right move when selection
2021-04-13 18:26:09 +08:00
Weihua Lu
bc5f343cd5
fix: up down move between blocks using line pos
2021-04-13 18:26:09 +08:00
Tienson Qin
c809cec032
refactor: block properties
...
- Added :block/created-at and :block/updated-at
- Update block will update page's timestamp too
- Store properties under `:block/properties` in metadata.edn
2021-04-13 17:20:25 +08:00
Tienson Qin
ce055e6ea6
fix: Enter can't create new block
2021-04-12 19:05:05 +08:00
Tienson Qin
d1359c3418
fix: undo cursor
2021-04-12 18:23:03 +08:00
Tienson Qin
880560042b
chore: use last-edit-block instead of block-idx
2021-04-12 15:58:38 +08:00
defclass
a030c53dac
chore: remove unused code
2021-04-12 15:47:48 +08:00
defclass
a2d002293d
Merge branch 'feat/outliner-core' of github.com:logseq/logseq into feat/outliner-core
2021-04-12 15:46:44 +08:00
defclass
89f2f07763
feat(outliner): add options for auto-transact
2021-04-12 15:46:33 +08:00
Tienson Qin
92e7fa3871
chore: binding undo and redo
2021-04-12 14:45:33 +08:00
defclass
7e3895cbe8
chore: remove unused code
2021-04-12 13:02:51 +08:00
defclass
48a1ba4284
Merge branch 'feat/outliner-core' of github.com:logseq/logseq into feat/outliner-core
2021-04-12 12:15:13 +08:00
defclass
c7ce268f92
chore: add debug helper
2021-04-12 10:45:23 +08:00
defclass
e218a8823d
feat(undo): add multiple repo support
2021-04-12 00:01:13 +08:00
defclass
07c25097c0
feat(editor): undo & redo
2021-04-11 23:56:34 +08:00
Tienson Qin
a9007ec134
fix: bulk indent && outdent
2021-04-10 10:08:54 +08:00
Tienson Qin
2aadcc671f
fix: add backspace and delete to global keys
2021-04-10 09:49:25 +08:00
Weihua Lu
0de89fa43c
fix chords cannot type issue
2021-04-10 01:04:14 +08:00
Tienson Qin
f5ed76ed14
refactor: don't create page properties by default
2021-04-09 23:51:13 +08:00
Tienson Qin
510d181386
fix: can't select blocks in edit mode
2021-04-09 22:38:28 +08:00
Weihua Lu
e891da8991
fix new line op
2021-04-09 21:47:31 +08:00
Weihua Lu
ba46cdf2f0
remove unused code
2021-04-09 21:47:31 +08:00
Weihua Lu
c5c8ce4697
fix ns require
2021-04-09 21:47:31 +08:00
Weihua Lu
1ee537391f
auto-complete bind
2021-04-09 21:47:31 +08:00
Weihua Lu
2675b556b7
date picker handler
2021-04-09 21:47:31 +08:00
Weihua Lu
a1822eb02b
add and fix some util fns
2021-04-09 21:47:31 +08:00
Weihua Lu
da09487775
delete unused code
2021-04-09 21:47:31 +08:00
Weihua Lu
cef3653883
move auto-complete shortcut
2021-04-09 21:47:31 +08:00
Weihua Lu
2130be31a0
selection shortcut
2021-04-09 21:47:31 +08:00
Weihua Lu
4f89f9b1d2
handle arrow key, indent, new block..
2021-04-09 21:47:31 +08:00
Weihua Lu
eb21eec1e1
refactor new block toggle
2021-04-09 21:47:31 +08:00
Weihua Lu
4819c6d512
install global shortcuts
2021-04-09 21:47:31 +08:00
Weihua Lu
2db7a4aea7
bind state to editor
2021-04-09 21:47:31 +08:00
Weihua Lu
d187b767b5
refactor selection shortcut
2021-04-09 21:47:31 +08:00
Weihua Lu
0b1f2f7cc4
new shortcut module
2021-04-09 21:47:31 +08:00
Weihua Lu
bf54aab0c4
remove mousetrap
2021-04-09 21:47:31 +08:00
Tienson Qin
839e020503
fix: updated text
2021-04-09 11:54:55 +08:00
Tienson Qin
10ab134f3d
refactor: add markdown unordered list as blocks
2021-04-07 22:50:25 +08:00
Tienson Qin
fda3f6746e
fix: remove :block/dummy? :block/level :block/meta when transact!
2021-04-07 21:09:43 +08:00
defclass
62b7d42802
Merge branch 'feat/outliner-core' of github.com:logseq/logseq into feat/outliner-core
2021-04-07 20:57:18 +08:00
Tienson Qin
a4ec65a986
fix: bulk outdent issue
2021-04-07 20:53:20 +08:00