LinJi
c604e353d0
fix: deleteRange start must be > 0 in _deleteBackward ( #928 )
...
* fix: _deleteBackward deleteRange start must > 0
* fix: _deleteBackward deleteRange start must > 0
2024-10-15 17:55:53 +08:00
LinJi
503e9fdc37
fix: export pdf set font not work ( #923 )
...
* fix: export pdf set font not work
* fix: export pdf set font not work
2024-10-14 12:14:25 +02:00
Lucas
a0b3c7289b
chore: bump version 4.0.0 ( #925 )
2024-10-14 10:29:55 +08:00
Lucas
9580c6d0c6
feat: override block component validator ( #924 )
2024-10-14 10:06:07 +08:00
Lucas
41048fed6c
feat: add auto expanded editor showcase ( #920 )
2024-10-14 09:58:24 +08:00
Lucas
0a0d441339
fix: showActionsNotifier called after it has been disposed will raise an assertion ( #919 )
2024-10-10 11:46:34 +08:00
Mathias Mogensen
6130b166cb
fix: do not highlight inactive items on empty selection ( #915 )
2024-10-09 14:05:28 +02:00
Mathias Mogensen
aa6dd822d7
fix: ctrl+backspace does not delete newlines ( #918 )
2024-10-09 14:04:03 +02:00
Mathias Mogensen
fab3d74ca3
fix: ctrl+delete does not delete newlines ( #917 )
...
* fix: ctrl+delete does not delete newlines
* fix: wrong comment
* chore: add collapsed check
2024-10-09 08:44:54 +02:00
Mathias Mogensen
728eca2054
fix: shift+delete ( #916 )
2024-10-08 21:26:20 +02:00
Mathias Mogensen
8eb14007be
fix: only notify ui of selection change if it actually changed ( #914 )
2024-10-08 17:32:47 +02:00
Lucas
c07f9ef6d4
feat: slice attribute from next position if index is 0 ( #911 )
...
* feat: slice attribute from next position if index is 0
* test: add slice attributes test
2024-10-08 19:52:29 +08:00
Ahad Patel
647a53e257
feat: multi list indentation ( #903 )
...
* add muliple list indentation at once
* feat: filter out the children node when executing indent command
* feat: keeping only immediate children nodes when executing outdent command
* feat: ignore outdent command if any of the selected nodes have path 1
* add test cases for indent and outdent commands
* fix: linting issues and removed dead code
* chore: remove unecessary comments in test file
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-10-08 19:51:18 +08:00
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