Commit graph

1,275 commits

Author SHA1 Message Date
Old Autumn
3679647a95
fix: fix checkbox not work as expected in html module. (#700)
* add support for breakline

* add test for br tag parse

* fix test failure case.

* feat: add  html support

* fix: todo list(checkbox) not work as expected
2024-02-01 17:16:17 +08:00
Lucas.Xu
8a5ca2a45e
chore: revert ime changes (#701)
* Revert "fix: chinese IME"

This reverts commit bdc0dc1113.

* Revert "fix: windows chinese ime issue (#682)"

This reverts commit 3cd56020b1.
2024-02-01 17:16:01 +08:00
Lucas.Xu
e80edfcaaa
chore: bump version 2.3.1 (#697) 2024-01-30 10:48:32 +08:00
Steve
0d8f755c80
feat: add contentInsertionConfiguration to editor and text input service (#691)
* Add contentInsertionConfiguration to editor and text input service

* add unit tests

* feat(editor): add contentInsertionConfiguration
2024-01-30 09:59:26 +08:00
Old Autumn
2c5d5c7ba4
fix: add support for breakline and divider (#690)
* add support for breakline

* add test for br tag parse

* fix test failure case.

* feat: add  html support
2024-01-30 09:41:25 +08:00
Juliano Penna
84e5adc199
chore: translate commands (#687)
* feat: translate commands descriptions

* feat: allow for commands without description
2024-01-30 09:35:36 +08:00
Juliano Penna
7d8147c78d
fix: pasting keeps current node type (#689) 2024-01-26 10:45:41 +08:00
Juliano Penna
7fe3ff7801
chore: localize more items (#680)
* fix: localize tooltips from toolbar items

* fix: Localize shortcut descriptions

* refactor: reorder able menu entries

* fix: update translation if locale changes

* feat: translate all pt-BR

* docs: explain how to change locales

* ci: fix failing unit test
2024-01-25 23:43:02 +08:00
q200892907
3cd56020b1
fix: windows chinese ime issue (#682) 2024-01-24 22:43:15 +08:00
Mathias Mogensen
137de7e933
fix: upgrade markdown to 7.2.1 (#686) 2024-01-24 22:42:13 +08:00
Lucas.Xu
31a18c5486
fix: unable to use slide gesture to close keyboard (#676) 2024-01-15 15:30:00 +08:00
q200892907
b7c381e495
feat: optimize Enter operation (#673)
* outdentCommand is called when the node path is greater than 1

* feat:add test

* feat:update test
2024-01-15 15:29:51 +08:00
Pit Hüne
a856888269
feat: parse nested numbered list (#674) 2024-01-15 15:29:36 +08:00
Lucas.Xu
f5f153553e
fix: headingBlockComponentBuilder doesn't use placeholderTextStyle (#677) 2024-01-15 15:29:26 +08:00
Lucas.Xu
71521ca953
fix: the magnifier doesn't disappear when the selection is collapsed (#675) 2024-01-15 14:33:58 +08:00
Jayaprakash
dccd4e8e72
feat: support formatting greater hyphen to single arrow (#665)
* feat: support formatting greater hyphen to single arrow

* refactor: renamed test group description

* refactor: formatted code file using dart formatter

* refactor: removes GreaterHyphen shortcut event from standard shortcuts

* fix: enable formatGreaterHyphen shortcut in test mode

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-14 22:47:19 +08:00
Yijing Huang
3feff00932
feat: backslash to ignore shortcut event (#635)
* feat: backslash to ignore shortcut event

* refactor: refactor format single char logic

* fix: avoid single char formating when in the double chars formatting situation

* fix: refactor the single char formating logic

* test: add test for back slash ignore shortcut cases

* test: add tests for ignoring space enabled shortcut events

* test: add test for checkbox shortcut ignore
2024-01-13 23:26:45 +08:00
q200892907
1d4bc26718
fix: solve the problem that Chinese ime cannot continue deleting after deleting input content (#672) 2024-01-13 23:22:53 +08:00
Lucas.Xu
3d373be64d
fix: the menu dismissed after selecting block style (#670) 2024-01-11 22:47:13 +08:00
Lucas.Xu
f053a1ee79
chore: bump version 2.3.0 (#668) 2024-01-11 14:20:19 +08:00
Jayaprakash
a8a88c49fa
fix: support character deletion while holding down the Shift key. (#659)
* fix: support deletion of character using [shift+backspace] command shortcut

* refactor: remove unnecessary command handler and unit test
2024-01-10 21:13:35 +08:00
q200892907
26c24ec66c
fix: solve the focus problem caused by monitoring onFocusChange and change to monitoring click events (#660) 2024-01-10 18:49:55 +08:00
Lucas.Xu
87eabfb8f5
fix: move cursor up/down issue (#657) 2024-01-09 20:59:43 +07:00
q200892907
bdc0dc1113
fix: chinese IME 2024-01-09 14:24:01 +08:00
Hamish
c8ba2487da
feat: add markdown divider encoder parser (#639) 2024-01-08 15:05:03 +08:00
Lucas.Xu
ca5b589946
feat: support updating cursor position via spacebar (#655) 2024-01-08 15:04:43 +08:00
Lucas.Xu
ba9bcee094
feat: support customizing cursor width (#654) 2024-01-08 14:54:34 +08:00
Lucas.Xu
49575bc58f
chore: bump version 2.2.0 (#650) 2024-01-05 15:21:58 +08:00
Lucas.Xu
3f5663697d
fix: android 14 issues (#649) 2024-01-05 14:50:01 +08:00
Lucas.Xu
7d2b456ef9
feat: improve ios touch gesture (#648) 2024-01-05 14:44:39 +08:00
Lucas.Xu
07afd7a839
feat: improve android selection gesture (#647)
* feat: improve android touch gesture

* feat: long press to select a word on Android
2024-01-05 14:23:18 +08:00
Ansah Mohammad
7ec43c9eee
feat: table navigation using TAB key (#627)
* feat: table navigation using TAB key

* feat: shift+tab for reverse navigation in table

* chore: circular traversal for arrow left and right

* test: added tests for tab and shift-tab commands in Table

* test: added tests for arrow left and right in table

* test: added corner case for tab and shift tab

* refactor: made changes as per the review

* refactor: Apply suggestions from code review

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-02 12:18:23 +08:00
Jazim Akbar
de94a5864f
feat: add markdown link syntax formatting (#618)
* Add markdown link syntax formatting

* chore: format code

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-01 14:34:33 +08:00
q200892907
d15737fff7
fix:text_decoration_mobile_toolbar_padding (#621) 2024-01-01 14:34:12 +08:00
Johan Sutrisno
82573c920d
fix: active hover on upload image (#597)
Co-authored-by: Johan Sutrisno <johan@zero-one-group.com>
2024-01-01 14:33:48 +08:00
Johan Sutrisno
ada2a31a90
feat: adding an ability to have a link check before embedding (#603)
* feat: adding an ability to have a link check before embedding

* feat: remove url validator and replace with isURL

---------

Co-authored-by: Johan Sutrisno <johan@zero-one-group.com>
2024-01-01 14:28:42 +08:00
LinJi
87068d1df9
fix: node_iterator toList encounter Dangling Node trigger dead loop. (#623)
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-01 14:28:21 +08:00
Lucas.Xu
20a714ae08
fix: todo list lost focus (#633)
* fix: click the todo icon will lose focus

* chore: rename selection extra info keys

* fix: disable create a new line when pressing the return key

* fix: selection overlay issues
2023-12-26 22:50:49 +08:00
Ansah Mohammad
61b4111c3d
fix: renamed duplicated shortcut key (#629) 2023-12-26 22:22:17 +08:00
Lucas.Xu
ace40a9965
feat: support clicking the selection area to disable floating toolbar (#632) 2023-12-26 09:10:03 +08:00
Lucas.Xu
92e4260c06
feat: support keep editor focus on mobile (#628) 2023-12-22 13:34:18 +08:00
Lucas.Xu
739cd598c3
fix: indent/outdent doesn't work in not collapsed selection (#626) 2023-12-21 13:10:30 +08:00
Lucas.Xu
82f3baf3f1
feat: support customizing the mobile magnifiter (#625)
* feat: support customizing the mobile magnifiter

* chore: remove unused test

* feat: expaned the padding between cursor and toolbar

* feat: support long pressing to update selection

* chore: revert code sign
2023-12-19 18:15:56 +08:00
Lucas.Xu
e6b1336041
chore: bump version 2.1.0 (#616) 2023-12-08 15:39:28 +08:00
Lucas.Xu
ffab5a1ca2
fix: memory leaks (#615) 2023-12-08 15:39:18 +08:00
q200892907
be92cfa209
fix: header/footer focus issue (#607)
* fix:header/footer focus issue

* fix:header/footer add text_field  cut/select_all/undo issue
2023-12-08 12:02:06 +08:00
q200892907
67e60ec134
fix: input chinese issue (#608)
* fix:input chinese issue

* fix:input chinese issue

* fix:input_chinese_issue

* fix:610
2023-12-07 22:54:13 +08:00
Jessica He
f4834b5bce
fix: markdown does not support nested lists (#611)
* fix: markdown does not support nested lists

Signed-off-by: Jessica He <jessicahe4741@gmail.com>

* chore: code format

---------

Signed-off-by: Jessica He <jessicahe4741@gmail.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-12-07 22:53:29 +08:00
Lucas.Xu
8bbb3a0783
chore: upgrade to flutter 3.16 (#614) 2023-12-07 22:22:34 +08:00
Lucas.Xu
4995d21ff4
feat: support get the after text decorate from textSpanDecorator (#612) 2023-12-04 15:15:21 +08:00