Commit graph

1,271 commits

Author SHA1 Message Date
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
Lucas.Xu
a573847a24
chore: bump version 1.5.0 (#551) 2023-10-24 20:17:08 +08:00
Sameer Godse
51f8f791c8
feat: convert = and > to ⇒ (#523) 2023-10-24 14:07:29 +08:00
Lucas.Xu
6d163b8897
feat: support overriding i18n (#550) 2023-10-24 12:12:46 +08:00
Ali Hassan
522f17a00d
feat: table html encoder and decoder added (#449)
* feat: table html encoder and decoder added

* feat: html table encoder test added

* feat: fix the test ran issues

* fix: removed unused code
2023-10-22 13:59:26 +00:00
Lucas.Xu
89b93d89a7
feat: optimize editable features (#541) 2023-10-17 17:38:27 +08:00
Lucas.Xu
9ae85ea162
feat: support parsing the nested list when exporting the document to markdown format (#540)
* feat: support exporting nested list

* feat: support parsing the nested list

* fix: tests
2023-10-14 23:47:57 +08:00
Lucas.Xu
d1027c4d83
feat: add extra info parameter to node (#539) 2023-10-14 20:37:18 +08:00
Lucas.Xu
56c269e8d3
feat: refactor logic for converting color string to Color in background_color_mixin.dart (#538) 2023-10-13 17:46:30 +08:00
Lucas.Xu
7317eb9333
Merge pull request #534 from LucasXu0/disable_toolbar_in_code_block
feat: disable toolbar in code block
2023-10-12 13:34:54 +08:00
Lucas.Xu
c8548924a5 feat: disable toolbar in code block 2023-10-12 13:15:36 +08:00
Lucas.Xu
6caec83dda fix: the icon of the quote block overflowed 2023-10-12 13:15:21 +08:00
Lucas.Xu
194fe2fec9
fix: unable to clear the style by toggling twice (#532) 2023-10-11 20:14:34 +08:00
Lucas.Xu
105eb14b0d
fix: pinyin IME on Linux (#531) 2023-10-11 19:41:33 +08:00
Lucas.Xu
31403c9b42
fix: background color issues (#530) 2023-10-11 19:41:15 +08:00
Lucas.Xu
b5f8bd11f1
fix: cursor blink at wrong location when inserting text (#529) 2023-10-11 13:54:45 +08:00
Lucas.Xu
b17bddceb8
feat: enable toggling and canceling of the formatting with shortcuts (#528) 2023-10-11 13:10:37 +08:00