Commit graph appflowy-editor/lib/src/editor
Author SHA1 Message Date
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
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
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
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
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
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
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
Lucas.Xu
89b93d89a7
feat: optimize editable features (#541) 2023-10-17 17:38:27 +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
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
Lucas.Xu
65189b7517
fix: the selection handles remain on the screen after cutting the text (#526) 2023-10-10 16:57:35 +08:00
Lucas.Xu
78b004565c
fix: the selection should be clear if header or footer is focusing (#525) 2023-10-10 16:53:12 +08:00
q200892907
5155663163
feat: customize desktop toolbar style (#519) 2023-10-10 16:52:50 +08:00
Sun Jiao
8bfd779bfe
feat: add regex and case sensitive to FindReplaceMenu (#480) 2023-10-10 15:53:38 +08:00
Lucas.Xu
adb05d4c49
feat: support customizing error block (#524)
* feat: support customzing error block

* feat: support slash menu in toggle list

* fix: enter in heading block
2023-10-10 11:38:40 +08:00
Lucas.Xu
0abcf7f6d2
fix: impossible to click on any sub-items if the top level item is off-screen (#522) 2023-10-09 22:02:23 +08:00
Lucas.Xu
af8d96bc1a
fix: image block revamp issues (#517) 2023-10-06 21:14:32 +08:00
Lucas.Xu
e996c9279d
chore: image block revamp (#516) 2023-10-05 09:24:59 +08:00
Mathias Mogensen
b733864112
feat: enable shift+press for selection range (#512) 2023-10-02 16:55:28 +02:00
Lucas.Xu
73919285f3 feat: make find and replace feature more customziable 2023-10-01 23:44:59 +08:00
Lucas.Xu
dfc0d74fb2 chore: rename replaceFlag to showReplaceMenu 2023-10-01 17:46:13 +08:00