Commit Graph

930 Commits

Author SHA1 Message Date
Weihua Lu
eb7c26dd96 fix: do not zoom-in non-exist block 2021-05-17 11:59:04 +08:00
Tienson Qin
91ce40242a fix: tag autocomplete 2021-05-16 11:05:02 +08:00
Tienson Qin
3ca38044cd fix: tag with page references 2021-05-14 23:55:20 +08:00
rcmerci
3ab36705cc update inserting block strategy 2021-05-14 18:12:31 +08:00
Tienson Qin
3d3a5ff35f fix: revert commit on both -get-parent-id and -get-parent 2021-05-14 17:49:42 +08:00
Tienson Qin
9f552514ee fix: can't paste pictures in the first block of any new page 2021-05-14 15:37:15 +08:00
rcmerci
2eaf0f38bd enhance(editor): insert block
1. move the cursor to the new block when press "Enter" at the
beginning of the parent block
2. new block should be a child when press "Enter" not at the beginning
of the parent block
2021-05-13 21:45:01 +08:00
Tienson Qin
085b8937e0 fix: file output for page properties 2021-05-13 21:33:17 +08:00
Tienson Qin
9273ee83f2 fix: exclude built-in properties when comparing content 2021-05-13 21:24:27 +08:00
rcmerci
5277780d51 [wip] fix undo insert block 2021-05-13 21:24:27 +08:00
Tienson Qin
4e333eb78e fix: Deleting embedded blocks deletes source material
close #1836 #1652
2021-05-13 16:47:33 +08:00
Tienson Qin
74958f83f7 fix: block marker/property not updated correctly if removed in the
text

close #1837
2021-05-13 14:49:20 +08:00
rcmerci
aefe814671 chore: clear code 2021-05-13 10:21:08 +08:00
rcmerci
f6bfe2ff2d fix(editor): wrong indentation on inserted new block 2021-05-13 10:16:35 +08:00
rcmerci
c3ecddb176 fix: wrong block/title 2021-05-12 16:01:31 +08:00
Tienson Qin
ced50c4482 fix: the next block might inherits block attributes from the previous block 2021-05-11 22:23:26 +08:00
rcmerci
09b2ea368d split util.marker & util.priority lib 2021-05-11 19:01:13 +08:00
Tienson Qin
ac7f6e1967 fix: remove non existed block refs when saving a block to avoid blank page 2021-05-11 17:54:31 +08:00
Tienson Qin
83c481ab09 fix: block properties 2021-05-11 17:21:13 +08:00
Tienson Qin
189d94554f fix: Copy block ref sometimes do not saved correctly
close #1798
2021-05-11 17:00:43 +08:00
Tienson Qin
d136d44798 Fix: linked refs not updated
close #1777
2021-05-10 22:44:15 +08:00
rcmerci
4d2c5f05a6 fix(editor): pasted template had chaotic orders 2021-05-10 20:45:00 +08:00
Tienson Qin
a2d35f6208 fix: can't input page reference with spaces 2021-05-10 20:43:56 +08:00
charlie
95ae0f5317 fix(editor): zoom out page error #1758 2021-05-10 15:41:28 +08:00
Tienson Qin
c78b225bbb fix: repeated tasks records 2021-05-10 12:43:32 +08:00
Weihua
018d517348 feat: more bash-like basic in block editing shortcuts (#1741)
* feat: shortcut for kill line, cursor begin/end, kill block

* feat: move or kill by word

* fix: off by one

* fix: til alt need be avoid on mac

* feat: false to disable shortcut

* fix: disable more binding for mac

* fix: add prevent default for global shortcuts

* fix: ctrl+shift+b/f move by word for mac

* fix: move backword zero bug
2021-05-10 10:44:54 +08:00
Weihua Lu
bc49715f35 fix: delete text selection 2021-05-10 10:01:00 +08:00
Weihua Lu
6be6ce76bc chore: remove duplicated code 2021-05-09 00:26:18 +08:00
Tienson Qin
2e0c241ba6 enhance: don't clear selection after copied
close #1733
2021-05-08 22:12:16 +08:00
Tienson Qin
701f4facfd fix: add timetracking back 2021-05-08 22:07:28 +08:00
Tienson Qin
7a78e805fd enhance: jump to edit the first block when creating a new page 2021-05-08 19:57:44 +08:00
rcmerci
67949bb1f5 fix: cond-fn in cycle-todo! 2021-05-08 19:23:47 +08:00
rcmerci
bfae935d0e fix cycle-todo! on # heading 2021-05-08 19:14:40 +08:00
Tienson Qin
310f69203b enhance: hide built-in properties when editing 2021-05-08 17:40:26 +08:00
Tienson Qin
2456e2bedd fix: some assets can't be paste due to their path names 2021-05-07 22:40:26 +08:00
Tienson Qin
443812b942 fix: template properties 2021-05-07 21:31:10 +08:00
Tienson Qin
e3b325798a fix: DELETE key can result in wrong tree relationship 2021-05-06 19:36:06 +08:00
Tienson Qin
975c59728c fix: don't delete && concat if the block has a child 2021-05-06 16:49:39 +08:00
Tienson Qin
90762899ab fix: delete the parent block doesn't update children' left and parent 2021-05-06 16:10:14 +08:00
Weihua Lu
1e04ea63bd chore: rename delete-char to backspace 2021-05-06 14:53:10 +08:00
Tienson Qin
be63c87baf feat: delete to concat blocks
close #557
2021-05-05 13:45:53 +08:00
Tienson Qin
0724cbe4b9 fix: paste of self ref block crash the app
close #1721
2021-05-04 21:20:05 +08:00
Tienson Qin
7097eb29b6 fix: can't jump to the end of [[]] for chinese input 2021-05-04 19:42:39 +08:00
Tienson Qin
b19b373b63 fix: page-add-property! 2021-05-03 22:37:26 +08:00
Tienson Qin
515f782888 fix: page properties 2021-05-03 12:58:21 +08:00
Tienson Qin
b8b32febd3 enhance: heading editing UX 2021-05-02 12:27:21 +08:00
Tienson Qin
9a8b00a849 enhance: align center bullets and headings 2021-05-02 11:14:01 +08:00
Tienson Qin
7e0d4b23bb fix: delete the parent doesn't delete its children in the db 2021-05-01 21:51:38 +08:00
Weihua Lu
0ae0634d04 fix: move prevent default in before 2021-04-30 22:22:56 +08:00
Tienson Qin
747bfd9db0 fix: skip moving the cursor when deleting a block 2021-04-30 21:54:51 +08:00