rcmerci
2d9096d06f
fix: remove dummy? match-condition
2021-05-30 09:56:00 +08:00
Tienson Qin
21b0d75dff
enhance: don't display pull errors when deleting blocks
2021-05-28 22:57:48 +08:00
Tienson Qin
799d0a24f1
refactor: remove dummy block
2021-05-28 21:12:11 +08:00
rcmerci
083ffb04fc
refactor: simplify paste-block-tree-at-point
2021-05-28 18:39:54 +08:00
rcmerci
5e17cd9be4
override block if it's empty when pasting blocks
2021-05-28 18:39:54 +08:00
rcmerci
60556964e5
fix: left conflicts when insert template at dummy block
2021-05-24 19:04:47 +08:00
Tienson Qin
87ded730d1
fix: properties not work well for org mode
2021-05-24 17:09:57 +08:00
Tienson Qin
d3b3f6f48e
fix: properties inserted at wrong positions
...
Close #1952
2021-05-23 13:58:06 +08:00
Tienson Qin
6c70914150
chore: replace re-find with safe-re-find
2021-05-23 13:05:35 +08:00
Tienson Qin
a494d25e54
fix: remove setTimeout for setting editor args temporally
2021-05-21 12:16:29 +08:00
rcmerci
6d0cb2383b
chore: clear code
2021-05-21 11:21:17 +08:00
rcmerci
47ec5c68ea
fix: remove :level
2021-05-21 11:21:17 +08:00
rcmerci
a45ff38903
fix: copy collapsed blocks
2021-05-21 11:21:17 +08:00
rcmerci
3e7d2fd700
fix: pasting md text remove common prefix spaces
2021-05-19 23:58:55 +08:00
rcmerci
5538088f8f
fix: update pasting text when text without double newline
2021-05-19 17:45:28 +08:00
rcmerci
a7396a1a82
fix: wrong order when copy&paste blocks
2021-05-19 11:50:49 +08:00
Tienson Qin
a7e4140533
chore: simplify indent && outdent code
2021-05-19 09:56:35 +08:00
rcmerci
a45da8af93
update inserting blocks position
2021-05-18 15:50:02 +08:00
rcmerci
454d301cc3
fix: another left conflict issue when insert-nodes
2021-05-18 15:50:02 +08:00
rcmerci
e0112f8e0f
update pasting external text strategy
2021-05-18 15:50:02 +08:00
rcmerci
f9783b9a2f
only parse pasting text when current editing block isn't empty
2021-05-18 15:50:02 +08:00
rcmerci
288da4fca3
transform text into blocks when pasting text from external
2021-05-18 15:50:02 +08:00
charlie
8a8af96d0e
fix(api): insert block with specific uuid & siblings issue
2021-05-18 15:48:22 +08:00
Tienson Qin
f1c535088d
fix: add to contents
...
Also, add api-insert-new-block!
2021-05-18 11:57:46 +08:00
Tienson Qin
aaa839a99b
fix: delete blocks && jump to next block in linked references
2021-05-18 11:57:46 +08:00
Tienson Qin
324ab6b170
wip: refactor db references && general queries
2021-05-18 11:57:46 +08:00
Tienson Qin
c5a7e80c5f
fix: disallow delete when the current block has children and
...
Its previous sibling has children too.
2021-05-17 22:46:53 +08:00
rcmerci
4fe8d751d6
chore: clear codes
2021-05-17 20:35:30 +08:00
rcmerci
a7a9f649c2
remove redundant ! on property-related funcs & add some tests
...
enter the commit message for your changes. Lines starting
2021-05-17 20:35:30 +08:00
rcmerci
e8c68a62e5
add util.property & move unit-tests
2021-05-17 20:35:30 +08:00
Weihua Lu
474772be2a
fix: rework zoom-in/zoom-out behavior
2021-05-17 16:15:55 +08:00
Weihua Lu
e218ef7491
fix: add default copy behavior
2021-05-17 13:59:34 +08:00
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