Commit Graph

930 Commits

Author SHA1 Message Date
llcc
df33aba4e6 Merge branch 'master' into disable-webview-resize 2022-05-23 21:09:38 +08:00
llcc
e3fa589396 use mod+shift+v to wrap video marco if clipboard is a url
Pasting a video url as {{video url}} is removed
2022-05-23 12:49:55 +08:00
llcc
1fb3fdcf6d feat: add macro video to embed various video URLs
This macro replaces `youtube`, `vimeo` and `bilibili` macros.
For backward compatibility, users can still use above macros,
but they can't access those commands from the commands menu anymore.
2022-05-23 12:49:55 +08:00
llcc
2d8047de7f fix: dwiw paste in markdown source block 2022-05-23 11:15:38 +08:00
Andelf
941de325b8 fix(editor): asset link when drop PDF file 2022-05-19 23:27:26 +08:00
llcc
b13f0e336e Merge branch 'master' into disable-webview-resize 2022-05-19 15:26:03 +08:00
Gabriel Horner
6f68d985bd Use core uuid fns where possible
No need for medley or personal util fns when core fns
are available. Also upgraded nbb-logseq to be 1.11.X cljs compatible

- uuid is the same as medley/uuid
- random-uuid is the same as medley/random-uuid
- uuid-string? and uuid is the same as parse-uuid
2022-05-19 14:58:33 +08:00
llcc
29bcd4ad8e Merge branch 'master' into disable-webview-resize 2022-05-17 22:44:57 +08:00
Tienson Qin
0d29421117 fix: blocks disappear in long page when outdent 2022-05-16 19:46:55 +08:00
llcc
d95aa14ca5 Merge branch 'master' into disable-webview-resize 2022-05-16 19:39:18 +08:00
Gabriel Horner
5b0d5fb8b5 Decouple graph-parser util from app util usage
For tiny util heavily used fns like safe-re-find and uuid-string?,
decouple graph-parser from so much of the app
2022-05-13 16:17:44 -04:00
Gabriel Horner
b9bbd0c605 Finish migrating extract to nbb 2022-05-13 15:47:54 -04:00
Gabriel Horner
b1e226745d Finish migration block ns to nbb 2022-05-12 16:58:26 -04:00
Gabriel Horner
22ddae8998 Move graph-parser related block code to proper ns and nbb migration wip 2022-05-12 16:57:28 -04:00
llcc
9fd4adcb92 Merge branch 'master' into disable-webview-resize 2022-05-12 20:46:27 +08:00
Tienson Qin
0e5d1614a0 Merge pull request #5265 from logseq/enhance/graph-parser-part-two
Enhance: Migrate mldoc and text to graph-parser
2022-05-12 20:22:51 +08:00
Tienson Qin
da5875efe8 fix: grouped transaction
close #5277
2022-05-12 10:44:30 +08:00
llcc
e119fef6bd Merge branch 'master' into gesture-support-on-block 2022-05-12 09:58:53 +08:00
llcc
407325ecc2 Merge branch 'master' into disable-webview-resize 2022-05-12 09:53:30 +08:00
Gabriel Horner
a9664272db Merge branch 'master' into enhance/graph-parser-part-two 2022-05-11 20:22:31 -04:00
Tienson Qin
9042aa47c5 fix: block wrong indentation in queries 2022-05-12 07:39:37 +08:00
Tienson Qin
8c2e07275b Lazy loading journals and queries 2022-05-12 07:39:37 +08:00
Tienson Qin
2614310ea8 Lazy load blocks in references and queries 2022-05-12 07:39:37 +08:00
Tienson Qin
3625f6f29b fix: copy paste not working across graphs 2022-05-12 07:20:56 +08:00
Gabriel Horner
20b8b9624d Moved nbb ns into graph-parser. nbb mldoc tests wip 2022-05-10 20:22:48 -04:00
Gabriel Horner
65804b4183 Split out text ns to graph-parser 2022-05-10 20:22:48 -04:00
Gabriel Horner
f529777d78 frontend.text conversion WIP
Removed extract-level-spaces b/c it's not used
2022-05-10 20:22:48 -04:00
Gabriel Horner
67461aaede Necessary parts of mldoc are nbb compatible
Also merged in parser tests which were not running
2022-05-10 20:22:48 -04:00
Gabriel Horner
657bb09591 Add mldoc integration test and start mldoc split 2022-05-10 20:22:48 -04:00
llcc
edf4943298 Merge branch 'master' into disable-webview-resize 2022-05-10 17:12:14 +08:00
Tienson Qin
4b4c03bd02 Merge branch 'master' into fix/missing-title-property 2022-05-09 21:39:13 +08:00
Tienson Qin
4fc479495e Simplify sidebar data 2022-05-09 21:30:31 +08:00
llcc
d9a5af557f fix lints 2022-05-09 20:24:28 +08:00
llcc
628fd0f3e4 Merge branch 'master' into disable-webview-resize 2022-05-09 19:44:40 +08:00
Tienson Qin
ca5745fc9b fix: title of newly created pages are all lowered 2022-05-09 00:34:04 +08:00
Tienson Qin
3f4ca7c4ba Merge branch 'master' into enhance/graph-parser-part-one 2022-05-08 09:53:54 +08:00
llcc
a8c75cf679 feat(gesture): tweak action bar 2022-05-06 16:20:00 +08:00
llcc
dbe08de6e4 Merge branch 'master' into disable-webview-resize 2022-05-06 16:18:31 +08:00
Tienson Qin
161e0ee56a fix: templates not working 2022-05-06 01:58:26 +08:00
llcc
09e3fb1321 fix: editing empty last block if :replace-empty-target? non-nils
Also, disable `edit-block?` for some functions
2022-05-06 00:32:17 +08:00
llcc
b8e6be46bf remove listen to textarea height change 2022-05-05 12:16:18 +08:00
llcc
40740ac4dc improve cursor scroll 2022-05-05 12:16:18 +08:00
Gabriel Horner
a58a411567 Move config fns and remaining util fns that mldoc depends on 2022-05-04 12:02:36 -04:00
Gabriel Horner
85bd1fecb2 Move first batch of util fns to graph-parser.util
Still need to fix external.roam
2022-05-04 12:02:36 -04:00
llcc
9e568c8016 enhance(iOS): disable webview resize 2022-04-29 11:19:44 +08:00
Tienson Qin
2ee95070e9 fix: api batch insert blocks 2022-04-28 10:48:07 +08:00
Junyi Du
97533e1a2f fix: autosave for editing page property when idle 2022-04-26 13:57:07 +08:00
Junyi Du
cf6de97d79 fix: insert-new-block doesn't trigger save previous block 2022-04-26 13:57:07 +08:00
Junyi Du
cf430963af fix: auto save on editing properties 2022-04-26 13:57:07 +08:00
Tienson Qin
b65359ae3f Remove unused code based on Gabriel's suggestions 2022-04-24 11:17:47 +08:00