Tienson Qin
746b7193d4
fix: replace empty target when paste cut blocks
2023-05-23 15:57:33 +08:00
Tienson Qin
ccd0b68c81
fix: undo should bring refs back
2023-05-23 15:57:33 +08:00
Tienson Qin
affa57e78d
fix: replace with source block's content when deleting refed blocks
2023-05-23 15:57:33 +08:00
Tienson Qin
4211cdc984
fix: cursor not jump back when undo a DELETE at the end action
...
It also remove built-in properties such as id from the editor content
2023-05-23 15:57:33 +08:00
Tienson Qin
905a28cb09
fix: handle the case when both blocks are referenced
2023-05-23 15:57:33 +08:00
Tienson Qin
95fb41a2c1
remove unnecessary save-current-block
2023-05-23 15:57:33 +08:00
Tienson Qin
121bec728f
fix: broken block ref when backspace/delete a block
2023-05-23 15:57:33 +08:00
Andelf
739f228b26
fix(editor): auto complete parenthesis at line start
2023-05-22 22:22:05 +08:00
Andelf
f6211c77b7
refactor(editor): add nearest-scrollable-container util fn
2023-05-22 22:22:05 +08:00
Andelf
812f8ac8ba
enhance(editor): restore scroll position new adding newline in a block
2023-05-22 22:22:05 +08:00
Tienson Qin
9cfc2f2d9e
fix: relax same block id check only when deleting a source block
2023-05-22 22:15:11 +08:00
Tienson Qin
1be20c8f11
Move cut-paste? logic to paste handler
2023-05-22 22:15:11 +08:00
Tienson Qin
d67d14f134
Changes suggested from Zhiyuan
2023-05-22 22:15:11 +08:00
Tienson Qin
2785681295
chore: uncomment code
2023-05-22 22:15:11 +08:00
Tienson Qin
03d6a84138
fix: lint
2023-05-22 22:15:11 +08:00
Tienson Qin
0df201e7a8
fix: replace empty target when paste cut blocks
2023-05-22 22:15:11 +08:00
Tienson Qin
753d452b50
fix: undo should bring refs back
2023-05-22 22:15:11 +08:00
Tienson Qin
a0b336c790
fix: replace with source block's content when deleting refed blocks
2023-05-22 22:15:11 +08:00
Tienson Qin
2313a6a912
fix: cursor not jump back when undo a DELETE at the end action
...
It also remove built-in properties such as id from the editor content
2023-05-22 22:15:11 +08:00
Tienson Qin
f48235e9f5
fix: handle the case when both blocks are referenced
2023-05-22 22:15:11 +08:00
Tienson Qin
9d6bda6b2c
remove unnecessary save-current-block
2023-05-22 22:15:11 +08:00
Tienson Qin
ea019bcad5
fix: broken block ref when backspace/delete a block
2023-05-22 22:15:11 +08:00
clstb
6e06057e7b
fix: preserve properties on update-block
2023-05-17 11:13:19 -04:00
Ben Yorke
928742e66b
shui/table introduction
2023-05-12 13:24:54 -04:00
charlie
6689d886d7
fix(ux): automatic block number list for semantic input
2023-05-12 18:51:12 +08:00
Tienson Qin
01479ef9da
enhance(perf): insert and delete blocks ( #9142 )
...
* enhance(perf): improve performance for both insert and delete
* fix: remember cursor pos before executing the body in a transaction
Otherwise, the edit-block and position could be changed
* fix: disable delete-concat when there's no child or right sibling
---------
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com >
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2023-05-09 17:24:09 +08:00
Konstantinos Kaloutas
fdcf2820f8
fix: delete selection shortcut on whiteboards
2023-05-08 18:50:31 +08:00
Tienson Qin
a777b265b4
fix: save the current block before property removing
2023-05-04 14:29:04 +08:00
Gabriel Horner
9628fc52b9
Split out property related fns
...
in order to make editor ns more maintainable
2023-05-04 13:50:09 +08:00
charlie
f73d964899
Merge branch 'master' into feat/custom-children-list-style
2023-05-04 10:35:07 +08:00
Konstantinos Kaloutas
0997b771fa
Revert "enhance: loosen up check for cut and delete"
...
This reverts commit c0bdb228f0 .
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
c94ff10e28
enhance: loosen up check for cut and delete
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
590ee630bd
fix: block select all propagation
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
dd9eb3a4e2
enhance (wip): customizable shortcuts
2023-05-03 15:30:05 -04:00
Konstantinos Kaloutas
96aed148b4
enhance (wip): customizable shortcuts
2023-05-03 15:30:05 -04:00
charlie
a7bc14dd21
enhance(ux): make DWIM UX adapted for the block ordered list
2023-04-28 11:10:57 +08:00
charlie
8c4124152f
enhance(ux): batch toggling ordered list blocks within the blocks context menu
2023-04-26 16:46:21 +08:00
charlie
f55ccda97e
fix(ux): turn the block into ordered item when it's moved to the first item from target ordered children
2023-04-26 13:03:14 +08:00
charlie
7b4349aed9
refactor: move ordered list logic into the unified 'insert-blocks transaction phase
2023-04-25 18:57:35 +08:00
Andelf
a301f25474
Revert "Feat: ordered(number) list blocks ( #9141 )"
...
This reverts commit 68492a5c67 .
2023-04-25 12:37:30 +08:00
Charlie
68492a5c67
Feat: ordered(number) list blocks ( #9141 )
...
* fix(ui): marker of number list
* feat(ui): sub alpha marker for order block (own-property)
* fix(ui): make order list style more compatiable
* fix(ui): reactive block state for all the order list related items
* improve(ux): backspace for the empty order list block
* improve(ui): slash commands for the own number list block
* fix(ui): incorrect order list number for the root block
* fix(ui): order list not work for the custom query blocks
* fix(ui): contextmenu for the number list marker
* improve(ui): remove the property of `logseq.children-as` for the order list feature
* fix(ui): incorrect order list number for the journal pages list
---------
Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com >
2023-04-25 12:24:09 +08:00
Gabriel Horner
dcf870358c
Merge branch 'master' into feat/custom-children-list-style
2023-04-20 16:42:40 -04:00
Tienson Qin
b1b4f17f7e
fix(copy): property text deleted when its value mixes [[]] and others
...
close #9100
2023-04-19 15:35:54 +08:00
Tienson Qin
a09ba93647
fix: revert changes from #8974 and #9125
2023-04-19 14:13:19 +08:00
charlie
205a3ccf70
Merge branch 'master' into feat/custom-children-list-style
2023-04-19 09:43:14 +08:00
Tienson Qin
a8013a5288
fix: broken outliner structure when Backspace at the beginning ( #9125 )
...
* fix: broken outliner structure when DELETE at the beginning
related to #8974
* fix: 'Delete' key deletes entire set of blocks
close #9128
---------
Co-authored-by: Mega Yu <yuhg2310@gmail.com >
2023-04-18 22:46:49 +08:00
charlie
2887a9c56b
improve(ux): backspace for the empty order list block
2023-04-18 19:25:04 +08:00
charlie
ba42b12b09
feat(ui): WIP number list block (own-property)
2023-04-17 13:51:35 +08:00
charlie
1043eff9cd
feat(ui): WIP number list block (own-property)
2023-04-14 18:37:31 +08:00
Tienson Qin
d9cfebd384
enhance: disable copy ref notification
2023-04-12 20:37:52 +08:00