Lucas.Xu
19a6c7a7b4
feat: add testable editor
2023-04-28 10:54:21 +08:00
Yijing Huang
c6d121c667
chore: clean code
2023-04-27 19:29:18 -05:00
Yijing Huang
8c50f4f1ac
chore: rename folder
2023-04-27 18:53:36 -05:00
Lucas.Xu
6e4b39a8da
Merge branch 'main' into mobile
2023-04-27 16:23:47 +08:00
Lucas.Xu
75ce21cc91
feat: implement converting > to quote style
2023-04-27 16:13:29 +08:00
Lucas.Xu
f624f3a308
feat: implement converting 1. to numbered list style
2023-04-27 15:34:39 +08:00
Lucas.Xu
6df42d4b8a
feat: optimize selection_transform
2023-04-27 14:28:17 +08:00
Lucas.Xu
d8813151e3
feat: optimize the new line logic
2023-04-27 11:51:11 +08:00
Yijing Huang
d30b4ea9c6
test: add format_strikethrough_test
2023-04-26 19:22:14 -05:00
Yijing Huang
e2ddc2528a
test: add single asterisk to italic test
2023-04-26 19:16:12 -05:00
Yijing Huang
0d05dcd077
test: add format_italic_test
2023-04-26 18:58:37 -05:00
Yijing Huang
07c14d73c4
test: add format_code_test
2023-04-26 18:48:51 -05:00
Lucas.Xu
8bc0b8be99
fix: bulleted list format error
2023-04-26 23:06:16 +08:00
Lucas.Xu
1881573c5f
chore: implement delete selection
2023-04-26 14:57:18 +08:00
Lucas.Xu
9ee756930b
fix: backspace_command test failed
2023-04-25 23:57:59 +08:00
Lucas.Xu
729779926e
fix: the document node can't rebuild
2023-04-25 23:09:01 +08:00
Lucas.Xu
1e93328862
chore: export delta_builder in util.dart
2023-04-25 22:24:40 +08:00
Lucas.Xu
79d4eb4529
feat: implement the block component builder
2023-04-25 14:45:36 +08:00
Lucas.Xu
91a60600d9
fix: changing heading from one level to another from toolbar ( #96 )
2023-04-24 10:17:09 +08:00
Mayur Mahajan
58ea6b0f44
fix: improves cursor left word delete ( #88 )
...
* refactor: add position_extension file
* feat: move word/sentence del to new file
* test: cursor left word delete
* test: for cursor left sentence delete
* chore: formatting arrow keys test
* refactor: consolidate goLeft and goRight into one
2023-04-24 09:23:53 +08:00
Lucas.Xu
813aa1a7a3
feat: implement bulleted list shortcut
2023-04-23 21:26:05 +08:00
Lucas.Xu
4f4c93e92f
feat: implement transform
2023-04-21 21:03:35 +08:00
Lucas.Xu
212928321f
feat: add transform
2023-04-21 13:01:20 +08:00
Mathias Mogensen
13ce29556f
fix: enter to outdent checkbox/bullet lists ( #84 )
...
Closes: https://github.com/AppFlowy-IO/AppFlowy/issues/2275
2023-04-21 12:47:07 +08:00
Mayur Mahajan
a1c67d23f5
feat: shift+tab to outdent a indented bulletpoint or checkbox. ( #63 )
...
* feat: added outdent handler
* test: outdent handler
* refactor: renamed tests
* refactor: segregate outdent handler
* chore: format outdent handler
* chore: remove redundant test and formatting
* chore: improve code readability in tab handler
* chore: fix dart lint
* chore: method for checking bullet or checkbox
* refactor: add method as extension
* refactor: add extension in textnode extension file
* chore: remove unnecessary import
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-21 12:46:15 +08:00
Ali Hassan
865195f8c6
feat : allow developer to change toolbar color as well as option to show default toolbar items and html to document converter added ( #58 )
...
* change toolbar and added export so developer can modify according to its need
* revert some chages from examples
* html to document convertion added
* test added
* code formated
* node to html added image parameter
* toolbar color and elevation added in editor stylee
* code formated
* remove duplicated exports
* fix test improts and formating
2023-04-14 10:10:03 +08:00
Mathias Mogensen
c19239e071
feat: custom color for text font and background using hex values
...
* feat: add custom color option for text
* fix: fixed failing checks of previous commit
* chore: apply suggestions from code review
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
* test: added test for custom color picker feature in color picker
* fix: handled the condition where if user enters a wrong color hex value
* test: added tests for custom color feature in color picker
* fix: fixed failing checks on privious commits
* fix: fixed formatting in files
* fix: linters
---------
Co-authored-by: Mukund-Tandon <mukundtandon1211@gmail.com>
Co-authored-by: Mukund Tandon <71614009+Mukund-Tandon@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-14 09:59:01 +08:00
Mathias Mogensen
cf5e83d370
chore: add linters conforming to style guide ( #59 )
...
Relates: #56 #57
2023-04-12 20:37:50 +08:00
Mathias Mogensen
fd13ad47da
test: improve coverage ( #61 )
...
Relates: #16
2023-04-12 11:17:10 +08:00
Mihir
8602a36026
fix: delete node does not propagate non null selection ( #45 )
...
* fix: delete node does not propagate non null selection
* test: delete node does not propagate non null selection
* refactor: lucas's suggestion
* refactor: suggestions
* refactor: revert inSelection, is not able to differentiate between overlays and selection.
* test: updated tests
* refactor: code formatting
* refactor: code formatting
* chore: dart format
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-11 14:08:50 +08:00
Mathias Mogensen
47ed51adba
feat: delete "sentence" shortcut ( #32 )
...
* feat: delete sentence shortcut
Closes : #4
* fix: error in shortcut_event_test.dart
* fix: prettify and add missing test
* test: improve coverage for arrow_keys_handler.dart
* chore: Apply suggestions from code review
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-11 10:12:40 +08:00
Mathias Mogensen
5239a461b2
fix: cannot edit image if editorState is uneditable ( #30 )
2023-04-06 16:27:24 +08:00
Lucas.Xu
6e72e5844b
fix: test error in redo_undo_handler_test.dart
2023-04-06 16:08:03 +08:00
Mayur Mahajan
85fde02ad7
test: redo undo with text formatting ( #38 )
2023-04-06 15:55:36 +08:00
Lucas.Xu
7885d5f1ff
chore: sync the latest code from AppFlowy ( #41 )
...
* chore: sync latest code from appflowy
* chore: sync latest tests from appflowy
2023-04-06 15:55:23 +08:00
Mathias Mogensen
7790b1256c
feat: alt + arrow key to move cursor one word ( #28 )
...
* feat: alt + arrow key to move cursor one word
* test: amend tests according to review
2023-03-24 21:02:40 +08:00
Mathias Mogensen
226d39cc78
test: improve test coverage ( #23 )
2023-03-24 20:59:03 +08:00
Lucas.Xu
c89ea36ce7
chore: sync the latest code from main repo ( #25 )
2023-03-22 16:36:32 +08:00
Mathias Mogensen
f0a357bb74
feat: shrinkWrap option for AppFlowyEditor ( #20 )
...
* feat: shrinkWrap option for AppFlowyEditor
Relates: #19
* test: add autoFocus tests for editor service
* chore: Update lib/src/core/transform/operation.dart
Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
---------
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-20 19:13:51 +08:00
Mathias Mogensencd collaction_website
63fedd3106
test: improve test coverage for commands
2023-03-20 10:59:15 +01:00
Lucas.Xu
bdd5fa733a
fix : #10 Exception trhown after inserting '/' slash in middle of text
2023-03-15 20:48:41 +08:00
Lucas.Xu
682e3dce53
chore: pre-release 0.1.1 ( #3 )
2023-03-09 15:38:54 +08:00
Lucas.Xu
5db0480075
chore: update LICENSE
2023-02-05 11:43:51 +08:00