Commit graph appflowy-editor/test
Author SHA1 Message Date
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