Commit graph appflowy-editor/lib
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
Yijing Huang
a864409b6f
feat: dark mode improvement (#90)
* chore: add item pop up style and new clear icon

* fix: enable ColorPicker hover color

* fix: fix text overflow
2023-04-21 09:57:02 +08:00
Lucas.Xu
0f22c2b774 feat: make the pressing backspace event listenable 2023-04-20 17:32:45 +08:00
Lucas.Xu
e7193597db fix: the keyboard doesn't open when changing selection 2023-04-20 15:29:51 +08:00
Lucas.Xu
d8a4d1a5bc chore: don't set null to selection every time 2023-04-20 14:05:43 +08:00
Lucas.Xu
2487408920 feat: implement mobile toolbar 2023-04-20 13:45:46 +08:00
Lucas.Xu
e8280bd2b4 chore: update the directory structure 2023-04-20 10:20:06 +08:00
Lucas.Xu
c261605d56 chore: update the directory structure 2023-04-20 10:00:25 +08:00
Lucas.Xu
638985f6af feat: implement a simple auto scroller 2023-04-19 23:28:55 +08:00
Lucas.Xu
df0688917c feat: optimize the auto scroller 2023-04-19 22:58:19 +08:00
Lucas.Xu
326a1fca1e feat: integrate auto scroller 2023-04-19 22:34:41 +08:00
Lucas.Xu
f2d45664f6 feat: implement auto scroll service 2023-04-19 21:55:27 +08:00
Lucas.Xu
123e9c6424 feat: implement scroll service 2023-04-19 19:06:38 +08:00
Lucas.Xu
87d150ac32 feat: implement debounce for input service 2023-04-19 16:22:06 +08:00
Lucas.Xu
981d4c7c1a feat: implement delta input service 2023-04-19 14:44:44 +08:00
Lucas.Xu
fe9e376921 feat: implement delta input service 2023-04-18 22:23:27 +08:00
Lucas.Xu
9e5f496990 feat: implement nested list component for bulleted list 2023-04-18 19:44:46 +08:00
Lucas.Xu
badff1a61d feat: add nested list component 2023-04-18 16:59:13 +08:00
Lucas.Xu
2cd2f3619a feat: implement quote block component 2023-04-18 16:40:20 +08:00
Lucas.Xu
d12f3a3bcc feat: implement numbered list component 2023-04-18 16:22:55 +08:00
Lucas.Xu
2fd3cca106 feat: implement bulleted list component 2023-04-18 16:12:45 +08:00
Lucas.Xu
a1ef08006b feat: implement to-do list component 2023-04-18 15:44:11 +08:00
Mathias Mogensen
ecba7ba49b
fix: lessen horizontal editor padding for mobile (#70)
* fix: lessen horizontal editor padding for mobile

* Update lib/src/render/style/editor_style.dart

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

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-14 10:10:43 +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
Lucas.Xu
b751a84424
fix: avoid using Platform code in Web #44 (#48) 2023-04-10 10:33:20 +08:00
Akshay
f7bdba010a
fix: fix Copy Paste on Web (#33) 2023-04-06 16:27:48 +08:00
Mathias Mogensen
5239a461b2
fix: cannot edit image if editorState is uneditable (#30) 2023-04-06 16:27:24 +08:00
Mathias Mogensen
991919170b
chore: add danish translations (#34) 2023-04-06 15:57:53 +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
06240a0b2d
feat: add em and divider support to html converter (#22) 2023-03-24 21:02:55 +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
dadd83da1f
chore: export editor style (#27) 2023-03-22 17:30:21 +08:00
Lucas.Xu
38d0ce16f6 chore: export editor style 2023-03-22 17:01:00 +08:00
Lucas.Xu
c89ea36ce7
chore: sync the latest code from main repo (#25) 2023-03-22 16:36:32 +08:00
Mathias Mogensen
16b64cf922
fix: issue with LinkMenu inside Material (#17) 2023-03-20 19:14:08 +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
b3f76a2bcc chore: release 0.1.2 2023-03-15 20:52:34 +08:00
Lucas.Xu
58330cda86
Merge pull request #14 from LucasXu0/fix_#10
chore: fix some known issues
2023-03-15 20:48:50 +08: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
1a467d39b9 chore: fix some known issues 2023-03-15 20:48:02 +08:00
Lucas.Xu
c420247fe6 fix: #9 Using the mouse to highlight text very easy to miss the first letter 2023-03-15 20:45:02 +08:00