Commit Graph

930 Commits

Author SHA1 Message Date
Tienson Qin
7915cf41b4 chore: use "*" for org mode's timestamps too 2021-06-07 13:23:55 +08:00
charlie
c99caeffe5 Merge branch 'master' into feat/integration-plugins-core 2021-06-07 11:11:29 +08:00
Weihua Lu
5e46d9eb7a fix: refactor threading 2021-06-04 23:26:11 +08:00
Weihua Lu
94a9ea4988 fix: prevent default 2021-06-04 23:26:11 +08:00
Weihua Lu
afb93eca99 feat: collape/expand 2021-06-04 23:26:11 +08:00
charlie
28159ce6a2 Merge branch 'master' into feat/integration-plugins-core 2021-06-04 14:41:36 +08:00
charlie
91c1c4aea5 fix: can't remove local assets on Web 2021-06-04 12:49:11 +08:00
charlie
d196017ac8 fix: incorrect asset path when create new page that local file not existed #1973 2021-06-03 19:09:54 +08:00
Tienson Qin
dcba8791ce fix: add block's page to :block/path-refs 2021-06-03 08:05:47 +08:00
charlie
0f39c9631e fix(api): upsert block property should work with editing mode 2021-06-01 16:31:47 +08:00
Charlie
52b54a34af Merge branch 'master' into feat/integration-plugins-core 2021-06-01 10:50:05 +08:00
Tienson Qin
077ce43b59 fix: can't copy and paste multiple blocks 2021-05-30 22:09:38 +08:00
Tienson Qin
e4f8982a50 refactor: remove file from paste logic 2021-05-30 20:42:27 +08:00
Tienson Qin
ba0de50629 fix: jump to the end when editing for the first block 2021-05-30 15:24:15 +08:00
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
charlie
213630f277 Merge branch 'master' into feat/integration-plugins-core 2021-05-28 18:40:08 +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
Charlie
b2ebabccb5 Merge branch 'master' into feat/integration-plugins-core 2021-05-27 17:51:03 +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
charlie
f4e6d7abba Merge branch 'master' into feat/integration-plugins-core 2021-05-24 10:19:28 +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
charlie
4fe0b806c6 improve(plugin): initial impls of block related apis 2021-05-20 17:47:48 +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