Commit graph

1,261 commits

Author SHA1 Message Date
Morn
5ad9d771a8
fix: slash menu sometimes incorrectly show on left side (#1082) 2025-03-27 13:43:03 +08:00
Morn
c40ee05b39
fix: add isMetricsChanged to FloatingToolbarBuilder (#1081) 2025-03-27 13:42:48 +08:00
Richard Shiue
f46e991d0a
fix: shift+click not working if beginning is out of the window (#1079) 2025-03-26 10:22:20 +08:00
Morn
ee37e1eb82
fix: rename the descroption of turning into heading shortcuts (#1075) 2025-03-25 11:41:22 +08:00
Saif Addin
591e1ab8fd
fix: prevent lock after backspacing on select all (#1076) 2025-03-25 11:41:02 +08:00
Morn
5bcc4e8fd9
fix: enable dismiss floating toolbar from outside (#1073)
* chore: update comment of the editable field in editor

* fix: assertion in editor list example

* feat: add text span overlay

* feat: add textSpanOverlayBuilder in edtor style

* fix: enable dismiss floating toolbar from outside

* chore: make sure context of global key in rich text is available for overlay

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2025-03-24 13:45:01 +08:00
Lucas
f2685cb900
feat: add document rules (#1071) 2025-03-19 10:21:20 +08:00
Lucas
a583d139d2
fix: parse table width/height error if the value is int (#1072) 2025-03-19 10:21:01 +08:00
Lucas
5070212ee0
chore: mark node id as non final (#1070) 2025-03-17 11:39:52 +08:00
Morn
2b5830dbaf
chore: enable pass custom color from outside (#1066)
* chore: enable pass custom color from outside

* chore: add toolbarBuilder for FloatingToolbar
2025-03-17 11:17:04 +08:00
Lucas
ec7350da7c
fix: unable to undo/redo when the selection is null (#1067)
* fix: unable to undo/redo when the selection is null

* test: add undo without selection test
2025-03-14 14:16:38 +08:00
Lucas
7ded33fb93
fix: assertion in editor list example (#1064)
* chore: update comment of the editable field in editor

* fix: assertion in editor list example
2025-03-14 11:46:41 +08:00
Morn
4c701431f4
fix: recreate FloatingToolbarWidget after Brightness was changed (#1063)
* fix: recreate FloatingToolbarWidget after Brightness was changed

* fix: change toolbar divider color
2025-03-14 09:54:11 +08:00
Lucas
2b8c3af548
fix: auto scroll issue (#1062) 2025-03-13 10:21:04 +08:00
Morn
4f51ccd35e
feat: enable set floatingToolbarHeight outside (#1058)
* feat: enable set floatingToolbarHeight outside

* feat: add HoverController for toolbar

* fix: rever HoverController

This reverts commit b9cc036c9cb0ea03b41eb7c302634158b6ddfb53.
2025-03-13 10:20:11 +08:00
Morn
8db5bdff8f
fix: interceptor not working with continuous deleting (#1057) 2025-03-12 13:36:59 +08:00
Lucas
5841b4c1ba
chore: remove assertion in scrollable helper (#1056) 2025-03-10 21:07:58 +08:00
Morn
c802beb8b9
fix: menu position error (#1054) 2025-03-10 19:16:31 +08:00
Lucas
9145121c7a
feat: support customizing scroll edge offset (#1055) 2025-03-10 19:16:15 +08:00
Morn
63e92c19f5
chore: add onScrollViewScrolled to EditorState (#1053) 2025-03-10 11:05:59 +08:00
Lucas
fcb7e6bb41
feat: add trailing builder in block menu (#1052)
* feat: custom selection area position

* feat: add action menu trailing

* feat: support trailing action builder for text blocks
2025-03-10 11:05:01 +08:00
Morn
e2c9713104
fix: scrollController disposed twice (#1050) 2025-03-06 16:40:20 +08:00
Lucas
866aea4dac
feat: add flag to disable keyboard shortcuts (#1049) 2025-03-06 14:25:44 +08:00
Lucas
b2672f297b
feat: support customizing link button (#1048) 2025-03-03 16:53:25 +08:00
Lucas
5277d2ddd1
chore: bump version 5.1.0 (#1047) 2025-02-28 10:30:39 +08:00
Morn
7f5a5a0754
fix: add default selection area for empty character (#1043) 2025-02-27 14:29:52 +08:00
Richard Shiue
fa186a4815
fix: check for has client before jumping in shrinkwrapped editor (#1045) 2025-02-27 14:29:30 +08:00
Morn
429ab33652
fix: support custom non-standard urls (#1042) 2025-02-27 14:21:00 +08:00
Lucas
400083fde6
feat: add interceptor into selection service to custom the drag target node (#1044) 2025-02-26 14:20:19 +08:00
Lucas
c1e9d15572
feat: add simple columns block in editor (#1038)
* feat: add simple columns block in editor

* feat: add divider between column block

* fix: add fallback logic in calculate selection function

* feat: add column width resizer

* feat: integrate columns block in editor on desktop
2025-02-21 12:05:56 +08:00
Lucas
1df3cb1a1f
fix: editor will crash if deleting all nodes (#1037)
* fix: editor will crash if deleting all nodes

* chore: disable windows ci
2025-02-18 16:22:05 +08:00
Saif Addin
8868c50aef
feat: allow coloring image menu (#1014)
* feat: allow coloring image menu

* feat: allow coloring image menu corrected colors

* fix: format image_upload_widget
2025-02-14 09:52:33 +08:00
Lucas
2745294587
feat: disable floating toolbar when editable is false (#1034)
* feat: disable floating toolbar when editable is false

* chore: use 3.27.4 in ci
2025-02-12 15:33:27 +08:00
Richard Shiue
55c457f472
fix: find getting focus unexpectedly (#1032) 2025-02-07 17:50:42 +08:00
Morn
b689a75950
fix: the RTL languages display incorrectly with soft line break(#7153) (#1026) 2025-02-04 11:12:49 +08:00
Morn
d24a7fc2c3
fix: the cursor constantly blinking on Android (#1023) 2025-01-20 13:50:10 +08:00
Lucas
70990e814c
feat: upgrade to Flutter 3.27.0 (#1020)
* chore: upgrade to Flutter 3.27.x

* chore: fix flutter analyze.

* chore: update changelog
2025-01-17 10:46:47 +08:00
Lucas
2a034983de
feat: support copy with indentPadding (#1018) 2025-01-15 17:39:55 +08:00
Richard Shiue
5352bb4a24
fix: check if scroll service is disposed before scrolling (#1016)
* fix: check if scroll service is disposed before scrolling

* chore: experiment

* chore: add back null check
2025-01-13 17:40:10 +08:00
Richard Shiue
2440242589
fix: use jump to when cursor not rendered (#1015) 2025-01-13 09:21:25 +08:00
Lucas
448174bb11
fix: unable to parse image if the image is inside the paragraph (#1012)
* fix: unable to parse image if the image is inside the paragraph

* test: unable to parse image if the image is inside the paragraph

* fix: using space bar to move the cursor not working on Android (#1013)

---------

Co-authored-by: Morn <agedchen@gmail.com>
2025-01-07 18:08:14 +08:00
Morn
4bcbfb0679
fix: using space bar to move the cursor not working on Android (#1013) 2025-01-07 10:20:02 +08:00
Lucas
2490f698c3
feat: expose text span for text style builder (#1011)
* feat: expose textspan for text style builder

* fix: content menu will show when collaborating
2025-01-06 11:40:17 +08:00
Lucas
9f6a29968e
fix: enter after emoji will create a softbreak on mobile (#1010)
* fix: enter after emoji will create a softbreak

* test: enter after emoji will create a softbreak
2024-12-31 15:10:41 +08:00
Lucas
cfb8b1b6eb
feat: clear selection extra info before inserting a new line (#1009)
* feat: enable debug paint size for mobile drag handle

* fix: clear selection extra info when inserting new line

* Revert "feat: enable debug paint size for mobile drag handle"

This reverts commit 3ece3c64d3a1c7fc2051ca7603e75dcf053304e8.
2024-12-30 15:28:26 +08:00
Morn
b52ce3bb91
fix: error format of TextEditingDeltaInsertion (#1004) 2024-12-30 15:27:34 +08:00
kyungilcho
6ce63ec57b
fix: out of text range while composing error (#979) 2024-12-30 15:27:19 +08:00
Lucas
1f124c1879
feat: enable debug paint size for mobile drag handle (#1007)
* feat: enable debug paint size for mobile drag handle

* feat: support auto-dismiss mobile collasped handle

* feat: clear composing range when updating selection by ui event
2024-12-30 15:07:14 +08:00
Lucas
c68e5f6c58
feat: support text align in text-based blocks (#1002) 2024-12-24 16:20:20 +08:00
Morn
6c54748517
fix: checking is mounted before updating the value of PropertyValueNotifier(#977) (#997) 2024-12-24 15:48:11 +08:00