Commit graph appflowy-editor/test
Author SHA1 Message Date
Lucas.Xu
b7bdee4226 test: migrate arrow keys test 2023-05-01 15:13:55 +08:00
Lucas.Xu
53ccb967dd feat: implement home / end shortcut 2023-05-01 14:37:25 +08:00
Lucas.Xu
0aa0eb2429 test: migrate test/plugins 2023-05-01 12:38:01 +08:00
Lucas.Xu
2229d85635 test: migrate test/plugins/markdown 2023-05-01 12:36:04 +08:00
Lucas.Xu
82c580e9a5 test: migrate test/plugins/markdown/encoder 2023-05-01 12:28:44 +08:00
Lucas.Xu
9795b18b97 test: migrate test/extensions 2023-05-01 10:44:28 +08:00
Lucas.Xu
4f18b26715 test: migrate test/core 2023-05-01 10:36:34 +08:00
Lucas.Xu
2e3af171b7 chore: migrate the transaction 2023-04-30 16:27:32 +08:00
Lucas.Xu
8931433400 chore: migrate the command_extension 2023-04-30 15:32:29 +08:00
Lucas.Xu
1d0055d0b1 feat: adjust the text command 2023-04-30 15:01:09 +08:00
Lucas.Xu
78c38d24bb feat: add format node and format delta 2023-04-29 14:36:24 +08:00
Lucas.Xu
df5c6b3980 test: add test for remove formot 2023-04-29 12:11:56 +08:00
Lucas.Xu
10ccd61237
Merge branch 'mobile' into feat/to_do_list_charcter_shortcut 2023-04-29 11:35:04 +08:00
Yijing Huang
378cbfb17a test: add todo list character shortcut test 2023-04-28 16:25:51 -05:00
Yijing Huang
19ede2e276 test: add format bold test 2023-04-28 08:44:06 -05:00
Yijing Huang
ed1074fb56
Merge pull request #1 from LucasXu0/feat/single-char-format-style
feat: single character shortcut events
2023-04-28 08:32:24 -05:00
Lucas.Xu
2bf07055ed feat: implement node extension, allSatisfyInSelection 2023-04-28 19:48:34 +08:00
Lucas.Xu
683318b177 feat: implement heading block 2023-04-28 17:03:58 +08:00
Lucas.Xu
23350d21fb feat: implement toolbar 2023-04-28 16:25:51 +08:00
Lucas.Xu
e64d829012 chore: fotmat the code and implement floating_toolbar 2023-04-28 13:33:13 +08:00
Lucas.Xu
5f568f674a test: add arrow key right tests 2023-04-28 11:16:27 +08:00
Lucas.Xu
f191527c2e test: add arrow key left tests 2023-04-28 11:12:49 +08:00
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