Commit graph

1,287 commits

Author SHA1 Message Date
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
Lucas.Xu
9c7a4ee671 fix: toolbar didn't dismiss when siwping left to close keyboard on android (#605) 2023-11-28 11:41:00 +08:00
Lucas.Xu
31acaff4f0
feat: refactor keyboard height observer to support multiple listeners (#602) 2023-11-23 14:30:15 +08:00
q200892907
af9f97e82f
fix: floating toolbar position error (#598) 2023-11-23 09:26:56 +08:00
Mohammad Zolfaghari
63a1a8d65d
fix: selection menu positioning on right half of editor (#600) 2023-11-23 09:26:06 +08:00
Lucas.Xu
7127a37f25
feat: show magnifier when dragging the handlers (#601)
* feat: add mobile magnifier to selection service

* feat: make the showMagnifier value as public
2023-11-23 09:25:22 +08:00
Lucas.Xu
2ece948966
fix: editor cannot scroll when editable is false (#599) 2023-11-20 20:49:08 +08:00
Lucas.Xu
e41204d911
chore: bump version 2.0.0 (#588)
* chore: bump version 2.0.0

* chore: update CHANGELOG.md
2023-11-18 13:48:40 +08:00
q200892907
c63d664513
feat: display number in latin or roman format (#595) 2023-11-18 13:48:17 +08:00
Lucas.Xu
ec3ecf58a0
fix: unable to set toolbar icon theme (#596) 2023-11-17 16:57:03 +08:00
Lucas.Xu
2617f766a5 fix: the content is blocked by the keyboard sometimes (#594)
* fix: the content is blocked by the keyboard sometimes

* chore: use flutter 3.13.9 in CI
2023-11-16 17:59:36 +08:00
Lucas.Xu
e665b67c0d
fix: the new mobile toolbar doesn't work if resizeToAvoidBottomInset is true (#593)
* fix: toolbar issues

* fix: adjust the mobile toolbar when resizeToAvoidBottomInset is true
2023-11-16 10:05:37 +08:00
Lucas.Xu
4345105ebe
feat: optimize editing experience on mobile (#592)
* feat: optimize mobile editing

* feat: refactot the mobile toolbar

* feat: don't reattch text input if the selection doesn't change

* chore: update mobile toolbar layout
2023-11-15 16:03:17 +08:00
Lucas.Xu
784fde1b01 Merge branch 'stable' 2023-11-15 09:55:51 +08:00
q200892907
467530ded4
fix: solve the left and right key bug. (#584)
* fix:Solve the left and right key bug. When adding an input box at the head or tail of the editor, it cannot be moved.

* feat:format
2023-11-15 09:55:24 +08:00
Lucas.Xu
4f073f3381 Merge branch 'main' into stable 2023-11-14 10:31:09 +08:00
Lucas.Xu
009115da83
feat: toggle format on mobile (#587)
* feat: support toggling format style when the selection is collapsed

* chore: refactor mobile toolbar items to use icon builders
instead of static icons
2023-11-13 15:43:51 +08:00
Lucas.Xu
68b00317c9
feat: support toggling format style when the selection is collapsed (#586) 2023-11-13 14:23:20 +08:00
Lucas.Xu
db4057dea2 Merge branch 'main' into stable 2023-11-08 14:24:39 +08:00
Lucas.Xu
50117b6900
chore: refactor mobile toolbar and divider block component (#583)
* feat: adjust toggle list block

* chore: refactor mobile toolbar and divider block
component

* chore: adjust indentation padding in block component
configuration and indent command test
2023-11-08 14:17:08 +08:00
Lucas.Xu
08117e75d7 chore: release 2.0.0-beta.1 (#582) 2023-11-08 14:01:35 +08:00
Lucas.Xu
c7d99913aa
feat: support Flutter stable channel (#581)
* feat: adjust toggle list block

* chore: upgrade Flutter to master channel

* chore: upgrade pbxproj

* fix: toolbar copy button not closing on mobile editor

* fix: formatting issues and add missing commas

* chore: add stable branch to GitHub Actions workflow

* chore: add missing trailing commas

* chore: adjust indentation padding in block component
configuration and unit tests
2023-11-08 13:46:33 +08:00
Lucas.Xu
a47fc6fc71
fix: don't rebuild mobile toolbar everytime (#579) 2023-11-07 14:16:51 +08:00
Lucas.Xu
0bb39dec7f
chore: bump version 1.5.2 (#578) 2023-11-06 16:39:46 +08:00
Lucas.Xu
372b43cf5c
fix: quit editing button doesn't work (#577)
* fix: quit editing button doesn't work

* fix: selection handler overflows sometimes
2023-11-06 16:10:20 +08:00
Kritarth Sharma
885ad9150a
chore: changed padding values and added borderRadius (#567)
* fix: Changed Padding values and added BorderRadius

* chore: addressed comment and made changes
2023-11-06 15:19:40 +08:00
Sun Jiao
77e5d8713b
fix: catch regex FormatException and show a corresponding error message (#573)
* add error message

* restore and reformat

* update localization and comments

* chore: reformat files
2023-11-06 15:19:23 +08:00
Lucas.Xu
aa90288c20
fix: 'PageStorage.of' returns null (#575) 2023-11-06 15:18:56 +08:00
Johan Sutrisno
5c4f4abab2
feat: Checkbox unresponsive in custom Theme example in editor example app (#543)
* feat: checkbox unresponsive custom theme example

* fix: resolve feedback

* fix: change inkwell to gesture detector

---------

Co-authored-by: Johan Sutrisno <johan@zero-one-group.com>
2023-11-05 19:46:52 +01:00
Mayur Mahajan
4b1a3d5307
fix: check if header exists for footer (#559)
* fix: check if header exists for footer

* test: add tests and refactor if statement

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
2023-11-02 14:11:37 +01:00
Mathias Mogensen
9b8d855fc0
feat: show placeholder override for paragraph block (#571) 2023-11-02 13:40:27 +01:00
Mathias Mogensen
7ab33c0ee4
chore: refactor character replacement (#570) 2023-10-31 15:53:48 +01:00
Lucas.Xu
b8368d82a5
chore: rename shortcut folder (#569)
* chore: rename shortcut folder

* chore: bump version 1.5.1
2023-10-31 14:51:38 +08:00
q200892907
9c32a7fd16
fix: image copy error width/height is double (#566) 2023-10-31 14:35:01 +08:00
Mathias Mogensen
7336274ff9
fix: on ui event reset selection type (#555)
* fix: on ui event reset selection type

* test: add test
2023-10-30 11:20:42 +08:00
Mathias Mogensen
5b9b6d80f5
feat: power checkbox shortcut (#553) 2023-10-30 11:20:15 +08:00
Mathias Mogensen
2dacd74dc0
feat: toggledStyle notifier (#562) 2023-10-30 11:19:52 +08:00
Mathias Mogensen
93fab8049d
fix: do not select all if selection is null (#563) 2023-10-29 19:54:56 +01:00
Jaskeerat Singh
41c9318986
fix: applied corner radius to block selection (#557)
* fix: Applied Corner Radius to Block Selection Area

* fix: removed un-necessary line

* fix: format file

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2023-10-29 11:08:56 +01:00