Commit graph appflowy-editor/example/pubspec.yaml
Author SHA1 Message Date
a512a3ef88
Move to file_picker v13 and device_info_plus v13 (win32 v6)
Both depend on win32 v6, like current Serverpod, so an app that also uses Serverpod can resolve the editor in one pub workspace; file_picker v10 and device_info_plus v12 need win32 v5.

file_picker v12 made its API static, returns the picked files directly and reads their content on demand (PlatformFile.readAsBytes()); v13 removed the parameters v12 had deprecated. The FilePickerService implementation keeps its interface: withData, withReadStream and lockParentWindow are ignored, allowMultiple chooses between pickFiles() and pickFile(), and saveFile() saves an empty file, since file_picker now writes the file itself and needs its content up front. The image upload reads the picked file's bytes on the web; the example app saves and opens files with the new API.

Raises the minimum to Dart v3.11 and Flutter v3.41.6 (device_info_plus v13).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-30 21:45:27 +02:00
Nathan
a9697798f6 fix: prevent remote updates from scrolling local viewport 2026-08-06 20:17:15 +08:00
Lucas.Xu
955db55b8a chore: use latest file picker version 2026-01-29 14:12:57 +08:00
Lucas
879305dead
fix: sync deps doesn't support on web (#1181) 2026-01-28 14:16:38 +08:00
Lucas
49a2b1c0a4
chore: upgrade to flutter 3.32.4 (#1123) 2025-06-25 11:31:04 +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
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
Lucas
817c965f26
fix: hide the floating toolbar if no content is visible (#976)
* fix: hide the toolbar when all selected content is empty

* test: hide the toolbar when all selected content is empty

* Revert "fix: ignore backspace on empty table cells to avoid editor crash (#964)"

This reverts commit 09f4b17e2e.
2024-12-02 10:11:15 +08:00
Lucas
8ae43d4b66
fix: markdown parser doesn't recognize softline breaks (#933)
* fix: markdown parser doesn't recognize softline breaks

* fix: tests
2024-10-16 11:02:15 +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
Sean Riley Hawkins
f6ee2fc02c
feat: export document to PDF (#695)
* feat: create initial parser for PDF format

* chore: add comments to explain code.

* chore: commit missing file

* feat: init commit for pdf parser

* chore: bind dependancy to git repo fork for fixes

* feat: get basic text from parser

* feat: get textstyle working with various texts

* fix: ensure formatting(bold, italics) doesnt break paragraphs

- Remove additional comments.

* chore: remove htmltopdfwidgets dependancy

* chore: clean up redundant code and add helper functions

* chore: update example files to include pdf option for export

* fix: remove html exportFileType

* feat: add in image support

* feat: add image support for network & local image

* feat: enable table support

* fix: enable tables in pdf parser

- Tables are enabled but lists within a table are not working yet.
- There is also the case of strikethrough not working, probably it didnt get rendered as a tag.
- Cleaned up example.dart

* chore: clean up comments in files & unused imports.

* chore: remove unused file.

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-07-04 11:57:43 +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
28655b4873
chore: upgrade flutter dependencies (#778)
* chore: upgrade dependecies to major version

* fix: remove paste as html feature
2024-04-26 16:46:22 +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
78dd254d1e
feat: add more showcases on desktop/mobile platform (#481) 2023-09-20 11:17:39 +08:00
Lucas.Xu
6699d58631
feat: add more showcases on the mobile platform (#479) 2023-09-18 22:05:17 +08:00
Lucas.Xu
19f999f422
feat: optimize the performance (#442) 2023-09-11 15:03:14 +08:00
Lucas.Xu
839bb94cba feat: support paste html 2023-05-31 16:05:49 +08:00
Mathias Mogensen
cbe2902373
chore: upgrade flutter to 3.10.1 (#136)
* chore: upgrade to flutter 3.10.1

* cicd: update actions

* fix: example application upgrade

* fix: formatting issues
2023-05-26 10:04:33 +08:00
Lucas.Xu
0ba4a9dd21 fix: dart publish analyze 2023-03-09 16:51:47 +08:00
Lucas.Xu
682e3dce53
chore: pre-release 0.1.1 (#3) 2023-03-09 15:38:54 +08:00
Lucas.Xu
fb8085add7 chore: remove the appflowy_editor_plugin 2023-02-05 11:52:35 +08:00
Lucas.Xu
5db0480075 chore: update LICENSE 2023-02-05 11:43:51 +08:00
Renamed from frontend/app_flowy/packages/appflowy_editor/example/pubspec.yaml (Previous history)