Tienson Qin
f919dac54b
fix: disable plain-text properties and :: to trigger property editing
2023-07-19 17:53:14 +08:00
gfgafn
8a2c6e9537
FIX(editor): Fix delete character which has more than one UTF-16 code unit using Delete key. close the issue #9834 ( #9837 )
...
such as delete 🤔 (U+1F914), 𠀅(U+20005)
2023-07-11 14:10:14 +08:00
Konstantinos Kaloutas
bb80b5f9eb
fix #9783
2023-07-06 16:54:00 -04:00
Tienson Qin
076d4027cb
fix: sort blocks when copy the selection
2023-07-05 18:30:43 +08:00
Mega Yu
982f57ec84
fix selected blocks dom class
2023-07-05 18:30:43 +08:00
Mega Yu
dfe889a45c
fix typo
2023-07-05 18:30:43 +08:00
Mega Yu
70c9bb10b8
remove duplicate logic about identify whether it's cut paste
2023-07-05 18:30:43 +08:00
Mega Yu
bd08a140a5
remove unnecessary print
2023-07-05 18:30:43 +08:00
Mega Yu
5f09b4dc75
exclude any ref-related values when copying blocks
2023-07-05 18:30:43 +08:00
Mega Yu
47f6893457
Fix the display issue caused by inconsistent page order and dbid order of blocks
2023-07-05 18:30:43 +08:00
Mega Yu
730b8e0528
cut blocks remains uuid
2023-07-05 18:30:43 +08:00
Tienson Qin
43e3270f10
fix: pre-check content exists
2023-07-03 15:01:01 +08:00
Tienson Qin
58162cc09d
fix: editing block should be property instead of its parent block
2023-07-03 14:55:42 +08:00
Tienson Qin
e0028a39fa
wip: property UX
2023-07-03 12:02:31 +08:00
rcmerci
0c4e9bf4d4
split db-version query rules
2023-06-27 19:28:12 +08:00
Tienson Qin
37d49b6ab8
fix: WIP assets not loading
2023-06-27 19:08:18 +08:00
Tienson Qin
7e44ff09a8
refactor: move editor impl to db-based and file-based
2023-06-26 19:07:25 +08:00
Tienson Qin
4409554bea
fix: allow deleting blocks from embeds
2023-06-26 16:16:38 +08:00
Tienson Qin
d73c51c41c
fix: task doesn't complete
...
https://linear.app/logseq/issue/LOG-2606/task-doesnt-complete
2023-06-26 15:44:53 +08:00
Tienson Qin
59c3ca7438
fix: remove properties from block content when importing
2023-06-21 16:25:27 +08:00
Tienson Qin
fd6b587235
Merge branch 'master' into feat/db
2023-06-21 14:09:16 +08:00
Konstantinos Kaloutas
d277031918
fix: select all while editing blocks
2023-06-20 09:09:10 -04:00
rcmerci
3dc67e550d
replace all property/Fns with property-edit/Fns
...
property-edit/Fns do nothing if current repo is db-based version
2023-06-17 01:37:39 +08:00
Tienson Qin
da2a753506
fix: hide id when press Enter before any page ref
2023-06-16 14:07:57 +08:00
Tienson Qin
48954897e9
remove unnecessary when creating a new block
2023-06-16 14:01:48 +08:00
Tienson Qin
2d0f67429a
enhance: pub-event! returns a promise ( #9671 )
...
enhance: pub-event! returns a promise
fix: typing 1. sometimes can result in 1. 1.
2023-06-15 23:45:13 +08:00
Tienson Qin
0f1cbb3bc7
fix: autopair failed
2023-06-14 16:52:31 +08:00
Tienson Qin
55ff7584b7
wrap-parse-block impl for db && file
2023-06-14 15:13:22 +08:00
rcmerci
d38afc9b71
better func names to differentiate between 2 types of graphs
...
- local file based
- db based (sqlite for now)
2023-06-14 13:03:08 +08:00
Tienson Qin
cf79079e66
fix: typo
2023-06-13 17:45:52 +08:00
Gabriel Horner
26dfa792ff
Fix formatted link pasting for special links - close #8981
2023-06-08 11:55:30 -04:00
Gabriel Horner
4c2e61cbd3
Remove deprecated :editor/command-trigger option
...
This option has been deprecated for a couple months
2023-06-02 11:49:08 -04:00
rcmerci
9b66c75f20
replace more state var as atom
2023-06-01 18:18:20 +08:00
situ2001
235c9fbb58
fix(editor): handle backspace when at beginning of line in embed page/block ( #8421 )
...
* fix(editor): handle backspace when pos is 0 on embed page
* fix(editor): embed block should also be handled
* fix(editor): handle backspace when pos is 0 on embed page
* fix(editor): embed block should also be handled
* refactor(editor): reduce repeated code
* Add tests for deleting block with backspace
Also replace get-prev-block-non-collapsed-in-embed which
isn't being used enough to merit another copy and paste
---------
Co-authored-by: Gabriel Horner <gabriel@logseq.com >
2023-05-31 15:37:39 -04:00
rcmerci
628a8b3826
use atom to replace some high frequency used state vars
2023-06-01 00:14:52 +08:00
Giuseppe D'Andrea
4c0583ce27
fix: delete selected text at the beginning
2023-05-30 12:35:38 +08:00
Giuseppe D'Andrea
be9654da94
enhance: delete selected text when pressing enter
2023-05-30 12:35:38 +08:00
Tienson Qin
e01846188a
refactor: add frontend.db.listener
2023-05-29 17:56:35 +08:00
Tienson Qin
542d28c6a9
Merge branch 'master' into feat/db
2023-05-27 11:59:27 +08:00
Gabriel Horner
df2edd44ac
Rename temp :block keys to be explicit about their use
...
:block is a heavily used namespace. We should at least
be explicit about keys that aren't being transacted
2023-05-26 09:13:38 -04:00
Tienson Qin
3e7c9322e4
fix: import page
2023-05-25 15:16:39 +08:00
Giuseppe D'Andrea
6bf8dcebec
fix: scroll the view when selecting multiple blocks ( #9444 )
2023-05-23 17:57:41 +08:00
Andelf
430ac3e8d7
fix(editor): auto complete parenthesis at line start
2023-05-23 15:57:34 +08:00
Andelf
4eccfdfdad
refactor(editor): add nearest-scrollable-container util fn
2023-05-23 15:57:34 +08:00
Andelf
02aa600212
enhance(editor): restore scroll position new adding newline in a block
2023-05-23 15:57:34 +08:00
Tienson Qin
8b8772cf61
fix: relax same block id check only when deleting a source block
2023-05-23 15:57:34 +08:00
Tienson Qin
07b0aaf0ad
Move cut-paste? logic to paste handler
2023-05-23 15:57:34 +08:00
Tienson Qin
2e29a20583
Changes suggested from Zhiyuan
2023-05-23 15:57:34 +08:00
Tienson Qin
545f994539
chore: uncomment code
2023-05-23 15:57:33 +08:00
Tienson Qin
a9346636f8
fix: lint
2023-05-23 15:57:33 +08:00