forked from logseq/logseq
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enhance: add an
reuse-last-block?
paras key to api-insert-new-block
When last block is empty and `reuse-last-block?` is non-nil, don't create a new block but using last block to insert contents. Use case 1: When receiving shared data from other apps and inserting them to today's empty journal, it's better to insert the data to the first empty block instead of creating a new block to save it but keeping the first one empty.
- Loading branch information
1 parent
5a9155d
commit 32809dd
Showing
1 changed file
with
55 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters