Commit graph appflowy-editor/example/lib/pages
Author SHA1 Message Date
Lucas
41335c54ae
chore: merge flutter 3_27_4 into main branch (#1228)
* chore: merge flutter/3_27_4 to main branch

* chore: code format

* fix: unit tests
2026-07-27 15:37:27 +08:00
Lucas
879305dead
fix: sync deps doesn't support on web (#1181) 2026-01-28 14:16:38 +08:00
Richard Shiue
15289103a2
chore: adjust context menu visibility logic (#1158)
* chore: default example context menu

* chore: adjust context menu visibility logic

* chore: dart analyzer
2025-11-11 12:55:26 +08:00
Lucas
bcafa80b78
chore: optimize auto scroller speed (#1147)
* chore: bump version 6.0.0

* chore: bump version 6.0.0

* feat: optimize the auto scroller speed

* chore: code format
2025-10-27 14:49:14 +08:00
Jan Zimola
6721018df0
feat: added offline collaboration example using appflowy_editor_sync_plugin (#1103)
* Adding offline collaboration example using appflowy_editor_sync_plugin

* Adapting example to a new  appflowy_editor_sync_plugin version.

* Revert "Adapting example to a new  appflowy_editor_sync_plugin version."

This reverts commit 7ea235f6f6ceb34d00a365fd05e82cdb6c5a8c67.

* increase flutter-version for testing workflow

* fix: auto_scrollable_widget adding lint ignore: invalide_use_of_protected_member.
2025-05-12 15:21:29 +08:00
Lucas
470c4e77c7
feat: support block wrapper (#1101) 2025-05-07 10:28:18 +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
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
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
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
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
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
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
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
Mike Faust
4f1473b392
fix: added autoScrollEdgeOffset to fix assertion error when scrolling in the example (#974) (#991) 2024-12-16 10:43:03 +08:00
Lucas
954ffa538e
feat: reset to the default inline code format logic (#988)
* chore: reset to default inline code format logic

* fix: slice_attributes_test
2024-12-11 18:09:01 +08:00
Lucas
5cb871d3f5
feat: custom slice function (#935) 2024-10-17 11:04:47 +08:00
Lucas
bcd12082fe
feat: select multiple lines with block selection style (#936)
* feat: select multiple lines with block selection style

* feat: block selection margin

* fix: filter the selection not in same depth
2024-10-16 17:47:39 +08:00
Lucas
41048fed6c
feat: add auto expanded editor showcase (#920) 2024-10-14 09:58:24 +08:00
Lucas
628d5c8d0c
feat: support formatting text when the composing range is not collapsed (#900) 2024-09-26 15:36:08 +08:00
Lucas
8582191b06
feat: support moving a block to become a child of another block (#896)
* feat: support moving a block to become a child of another block

* fix: disable moving a block to its children

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* feat: optimize moving logic

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2024-09-20 16:09:03 +08:00
Lucas.Xu
0a0154ff7d feat: support customizing max width 2024-09-18 13:49:41 +08:00
Lucas
bc591cc1c6
feat: implement auto scroll when draggaing to reorder (#889)
* feat: implement auto scroll when draggaing to reorder

* fix: render placeholder instead of table
2024-09-13 16:55:14 +08:00
Lucas.Xu
5d1d311a2c
feat: support dragging to reorder block (#887)
* feat: support drag to reorder block

* feat: enable drag to reorder on home page

* fix: proper offset calculation for drop path

* docs: update doc comments for the drop target API

* fix: render issue

---------

Co-authored-by: Mathias Mogensen <mathiasrieckm@gmail.com>
2024-09-12 20:46:55 +08:00
Lucas.Xu
72512df842
chore: hide Log and PlatformExtension (#886) 2024-09-11 17:51:53 +08:00
Lucas.Xu
4536488faf chore: add toolbar id 2024-08-06 18:02:04 +08:00
Lucas.Xu
4c4cc415d5
feat: support customizing tooltip style (#856) 2024-08-06 17:14:06 +08:00
Mathias Mogensen
819e579afd
feat: render drop target (#848)
* feat: expose method to render drop target

* feat: add style to drop target

* feat: add DropTargetRenderData for more concise control

* fix: split up rendering and data fetching

* chore: clean unused code

* chore: remove unused example code for testing
2024-07-25 20:20:14 +02:00
Lucas.Xu
e0d673afbb
fix: document from markdown contains html escaped text (#841) 2024-07-11 18:01:24 +08:00
Lucas.Xu
8b9ccf83fd
fix: render issue of nested list (#838)
* fix: render issue of nested list

* fix: table board doesn't show in readonly mode

* fix: ci tests
2024-07-04 16:58:57 +08:00
Lucas.Xu
c25ae11f18
feat: enable selection in readonly mode (#837)
* feat: enable selection in readonly mode

* fix: test
2024-07-04 11:23:55 +08:00
Lucas.Xu
5bf6c7acd0
feat: support custom markdown parsers (#835)
* feat: support custom markdown parsers

* fix: markdown test

* feat: add markdown quote parser

* chore: use markdown parser

* chore: parse unordered list, to_do list and quote

* feat: add a markdown editor example

* feat: add bulleted list parser

* feat: support nested list and img

* feat: support code block

* feat: support table parser

* chore: refacotr code

* fix: flutter analyze

* chore: add more tests and remove unused files

* fix: test
2024-07-04 09:53:25 +08:00
Lucas.Xu
5d4f2367a3
feat: support customizing mobile page style (#769)
* feat: customize the list icons

* test: fix tests
2024-04-16 17:30:51 +08:00
Lucas.Xu
61d892a09c
feat: support auto complete for text block (#764)
* feat: support auto complete for text block

* feat: support auto complete for text block

* test: add auto complete test

* feat: support tab to auto complete

* chore: optimize the code

* chore: update token
2024-04-11 10:48:12 +08:00
Lucas.Xu
b927ec0685
feat: support remote selections (#753)
* chore: delete deprecated code

* feat: support remote seleciton

* feat: support selection flag
2024-03-27 17:01:34 +08:00
Lucas.Xu
cbb33469cd
feat: add diff document/nodes function (#748)
* feat: transform operations

* feat: add document diff function
2024-03-19 17:38:14 +08:00
Lucas.Xu
014abd74fe
feat: add fixed toolbar example (#739)
* feat: add fixed toolbar example

* feat: highlight bold button if the selected text is all bold
2024-03-07 09:47:23 +08:00
Lucas.Xu
1715ed4549
feat: support scaling the svg (#722)
* feat: support scaling the svg

* fix: flutter test
2024-02-21 15:41:55 +08:00
Mathias Mogensen
63844fd121
feat: support selection counters (#706)
* feat: support selection counters

* feat: improve
2024-02-08 10:46:45 +01:00
Mathias Mogensen
9c27b8e309
feat: word counter service (#705)
* feat: word counter service

* chore: minor improvement

* test: add expect for stop()

* fix: code review
2024-02-07 16:30:27 +01:00
Lucas.Xu
ba9bcee094
feat: support customizing cursor width (#654) 2024-01-08 14:54:34 +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
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
ffab5a1ca2
fix: memory leaks (#615) 2023-12-08 15:39:18 +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
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
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