Commit graph

1,307 commits

Author SHA1 Message Date
Lucas
98356fac4c
feat: implement custom pan gesture to avoid delay offset update (#909) 2024-10-01 17:57:31 +08:00
Lucas
3bbdccd9b1
fix: insert the pasted nodes after current selection if they start with a non-delta node (#908)
* fix: insert the pasted nodes after current selection if they start with a non-delta node

* test: add paste multiple nodes test
2024-10-01 14:07:18 +08:00
Lucas
c5de9ed84d
chore: integrate delete line command into cut command (#907) 2024-09-30 13:26:39 +08:00
Lucas
54edcadbb2
feat: add 'delete line' command shortcut (#906)
* feat: support ctrl(cmd)+x to delete current line if the selection is collapsed

* test: add delete_line_command_test
2024-09-30 10:15:16 +08:00
Lucas
d049584785
feat: support keyboard gesture on mobile (#905)
* feat: support keyboard gesture on mobile

* fix: update drag handle when typing text on iOS
2024-09-30 09:21:19 +08:00
Lucas
6da7b4e5dc
feat: add keyboard service interceptor to prevent default ops execution (#902)
* feat: add keyboard service interceptor to prevent default ops execution

* chore: add logs
2024-09-26 17:47:41 +08:00
Lucas
ab977f9568
feat: support skipping slice attributes (#901)
* feat: skip slicing the next inserted text if the previous text has been formatted

* test: skip slicing attribute test

* feat: reset slice flag when updating selection
2024-09-26 16:26:12 +08:00
Lucas
628d5c8d0c
feat: support formatting text when the composing range is not collapsed (#900) 2024-09-26 15:36:08 +08:00
Lucas
737681dd97
feat: listen on delete_backward changes (#898) 2024-09-25 15:59:23 +08:00
Lucas
8582191b06
feat: support moving a block to become a child of another block (#896)
* feat: support moving a block to become a child of another block

* fix: disable moving a block to its children

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* feat: optimize moving logic

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2024-09-20 16:09:03 +08:00
Lucas.Xu
0a0154ff7d feat: support customizing max width 2024-09-18 13:49:41 +08:00
snipd-min
ea494df556
feat: allow configuring the auto scroll edge offset (#888) 2024-09-16 16:45:46 +08:00
q200892907
fc5d33e6da
fix: context menu doesn't show up when the first paragraph is empt (#891) 2024-09-16 16:45:14 +08:00
Mathias Mogensen
67ea9f608b
fix: odd toggle behavior continuous markdown (#893) 2024-09-15 20:45:42 +02:00
Lucas
b888202b9b
fix: backquote key will cause crash when using French IME (#892) 2024-09-13 19:23:39 +08:00
Lucas
bc591cc1c6
feat: implement auto scroll when draggaing to reorder (#889)
* feat: implement auto scroll when draggaing to reorder

* fix: render placeholder instead of table
2024-09-13 16:55:14 +08:00
Lucas.Xu
5d1d311a2c
feat: support dragging to reorder block (#887)
* feat: support drag to reorder block

* feat: enable drag to reorder on home page

* fix: proper offset calculation for drop path

* docs: update doc comments for the drop target API

* fix: render issue

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
2024-09-12 20:46:55 +08:00
Lucas.Xu
200b572fa3 chore: bump version 3.3.0 2024-09-11 17:54:52 +08:00
Lucas.Xu
72512df842
chore: hide Log and PlatformExtension (#886) 2024-09-11 17:51:53 +08:00
Lucas.Xu
14ea32a06c
chore: remove todolist validation and set checked as false by default (#883) 2024-09-11 17:51:44 +08:00
LinJi
c3c700524c
fix: document getting first or last node exception (#885) 2024-09-11 17:51:35 +08:00
Lucas.Xu
cf9943e748
fix: platform.environment is not supported on web (#882) 2024-09-09 21:14:15 +08:00
kkundi
96ac065b63
fix: unsupported platform error on web (#881)
* fix: isMacOS unsupported platform issue

* fix: isIOS unsupported platform issue

* fix: remove unused import
2024-09-09 15:59:48 +08:00
Aleksei Ivanov
03bc9b44e8
feat: support more link types (#876)
* feat: add mailto link input support

* feat: add file link input support

* chore: update lib/src/editor/util/link_util.dart

* fix: unit test and code format

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-09-09 15:59:38 +08:00
Mayur Mahajan
2110fde62c
fix: regain focus after navigation arrows are used (#878)
* feat: retain focus to input field after navigation

* chore: add comment and use 10 ms instead of 1
2024-09-08 21:27:29 +08:00
Lucas.Xu
5eca3be663
feat: support moving cursor using keyboard gesture (#879) 2024-09-08 21:09:43 +08:00
Lucas.Xu
b6bfd111c0 chore: bump version 3.2.0 2024-09-04 15:26:34 +08:00
Lucas.Xu
44989c568e
feat: optimize the table node parse steps and add logs (#875)
* feat: optimize the table node parse steps and add logs

* feat: support table cell node construtor

* fix: widget test
2024-09-04 13:57:46 +08:00
Mathias Mogensen
da0a56cf72
fix: context menu wrong offset (#874) 2024-09-03 20:26:42 +08:00
q200892907
0b6b17370e
fix: reset composing range if it's collapsed on macOS (#871) 2024-09-03 16:09:11 +08:00
Lucas.Xu
a64a5165e7
fix: table cell insertion error (#870) 2024-08-26 15:13:46 +08:00
Lucas.Xu
8e17d1447e
feat: optimize table update (#869)
* feat: optimize table update

* fix: combine the table transactions
2024-08-16 10:52:48 +08:00
Lucas.Xu
9d3e854f11 fix: set keepEditorFocusNotifier when showing slash menu (#866) 2024-08-12 14:12:54 +08:00
Lucas.Xu
3d6aff0d21
chore: support disable auto scroll (#864) 2024-08-10 10:58:35 +08:00
q200892907
c013611a05
feat:update keyboard height (#854) 2024-08-10 10:58:23 +08:00
Mohammad Zolfaghari
ede8187efc
fix: enable converting multilne to list (#860)
currently only its possible to convert single line to bullet or
numbered list.
changed the active check function to also show list items in toolbar
when multiple text lines are selected.
2024-08-10 10:58:09 +08:00
Mohammad Zolfaghari
bcc5a531ca
feat: paste list children nodes (#863)
* feat: paste list children nodes

also export copy paste extension so we can use it in AppFlowy

* fix: unnecessary import
2024-08-10 10:57:13 +08:00
Lucas.Xu
031777941c
feat: custom slash menu text style (#862) 2024-08-09 18:10:38 +08:00
Lucas.Xu
221056ece3
chore: expose text operation functions (#861) 2024-08-09 12:00:25 +08:00
Lucas.Xu
f2e499de09 feat: allow optional icon builder for selection menu items (#858) 2024-08-08 10:50:31 +08:00
Lucas.Xu
4536488faf chore: add toolbar id 2024-08-06 18:02:04 +08:00
Lucas.Xu
4c4cc415d5
feat: support customizing tooltip style (#856) 2024-08-06 17:14:06 +08:00
Lucas.Xu
c064543e0e
fix: stabilize rendering for nested lists beyond level 1 (#855) 2024-08-05 10:34:56 +08:00
Lucas.Xu
7202c34072
feat: support disabling keyboard & scroll service (#852) 2024-07-31 15:23:15 +08:00
Lucas.Xu
5bf57ad7ab
chore: support disabling selection gesture (#851) 2024-07-30 22:27:09 +08:00
Nathan.fooo
aac77292a1
Merge pull request #850 from AppFlowy-IO/support_singl_column
feat: support single column slash menu
2024-07-27 16:52:44 +08:00
nathan
4d93dfbded chore: fix test 2024-07-27 16:38:45 +08:00
nathan
218c7c82ba chore: support single column slash menu 2024-07-27 14:40:40 +08:00
Mathias Mogensen
268aae905b
fix: refine position of drop target line (#849) 2024-07-25 23:32:34 +02:00
Mathias Mogensen
819e579afd
feat: render drop target (#848)
* feat: expose method to render drop target

* feat: add style to drop target

* feat: add DropTargetRenderData for more concise control

* fix: split up rendering and data fetching

* chore: clean unused code

* chore: remove unused example code for testing
2024-07-25 20:20:14 +02:00