Commit graph appflowy-editor/lib/appflowy_editor.dart
Author SHA1 Message Date
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
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.Xu
8e17d1447e
feat: optimize table update (#869)
* feat: optimize table update

* fix: combine the table transactions
2024-08-16 10:52:48 +08:00
Lucas.Xu
221056ece3
chore: expose text operation functions (#861) 2024-08-09 12:00:25 +08:00
Lucas.Xu
6d163b8897
feat: support overriding i18n (#550) 2023-10-24 12:12:46 +08:00
Lucas.Xu
73919285f3 feat: make find and replace feature more customziable 2023-10-01 23:44:59 +08:00
Lucas.Xu
28c5adf0f9 feat: add support for context menu items to the editor 2023-08-24 19:17:13 +08:00
Ali Hassan
73d56b44e2
fix: copy handler migrated to latest api (#240) 2023-07-25 10:08:18 +08:00
Lucas.Xu
46158d9e26
feat: customize href (#293) 2023-07-07 16:07:47 +08:00
Lucas.Xu
2b2bce4f3c
fix: analysis issues (#283) 2023-07-04 11:22:35 +08:00
Lucas.Xu
070ceb3e27
feat: migrate the delta encoder (#277) 2023-07-03 19:19:32 +08:00
Lucas.Xu
435f1a6f9a
feat: support customizing image menu (#265) 2023-06-30 13:40:18 +08:00
Lucas.Xu
3614cc5bf1
Revert "fix: copy handler migrated to latest api (#192)" (#236)
This reverts commit ad838cfa86.
2023-06-22 10:04:42 +08:00
Ali Hassan
ad838cfa86
fix: copy handler migrated to latest api (#192)
* fix: copy handler migrated to latest api

* flutter analyze

* code formatted

* fix: test added for copy handler

* more test added for copy handler

* fix:write test for copy handler

* text added for html to nodes

* fix: added more test for html encoder

* fix:removed unused imports

* fix: copyhandler collapse state test added

* added direct event handler in test

* flutter analyze

* revert changes in example.json
2023-06-20 17:12:14 +08:00
Mayur Mahajan
eb9e6b69fa
chore: export keymapping file and fix outdent typo (#207)
* chore: export key mapping file

* chore: typo in outdent handler
2023-06-16 11:27:38 +08:00
Yijing Huang
6a4a8ae818
feat: mobile tool bar basic features (#161)
* refactor: refactor mobile toolbar

* feat: add text decoration icon in AFMobileIcons

* chore: update mobile parameter

* feat: add text decoration basic feature

* chore: replace text by AppFlowyEditorLocalizations

* feat: add code toolbar item

* chore: refactor code
- add hasMenu in MToolbarItem
- add const size

* feat: add line input menu

* chore: create toolbar items draft file

* refactor: textDecorationMToolbarItem refactor

* fix: add key to ensures MToolbarWidget is rebuilt whenever the selection changes

* feat: add link toolbar item and the way to close item menu

* chore: replace m by mobile

* chore:replace BuiltInAttributeKey by FlowyRichTextKeys

* chore: replace m by mobile

* refactor: refactor MobileToolbarWidget

* refactor: add MobileToolbarStyle to control all cosmetic parameters

* refactor: refactor MobileToolbarItemMenuBtn to stateless widget

* feat: add heading menu

* fix: fix open the wrong menu

* feat: add heading icon

* feat: add todo list and list toolbar item

* feat: add quote toolbar item

* fix: fix selection service error

* test: add mobile toolbar basic elements test

* test: add item menu button test and helper widgets

* test: add text decoration mobile toolbar item test

* test: add code mobile toolbar item test

* test: add heading mobile toolbar item test

* test: add list mobile toolbar item test

* chore: fix typo

* test: add quote mobile toolbar item test

* test: add todo list mobile toolbar item test

* test: add link mobile toolbar item test

* chore: update name and add Material widget

* fix: flutter analyze

* fix: flutter analyze in test mobile toolbar

* chore: dart format test code

* refactor: improve code

* fix: fix refactor error

* chore: move all the tests in mobile to test/mobile

* chore: move toolbar/items to toolbar/desktop/items

* chore: remove the mobileToolbarItemMenuStateKey

* chore: add some comments

* test: update testing

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-13 14:01:08 +08:00
Ali Hassan
6677e2ae62
fix: editor document to html encoder added (#175)
* fix:added html document encoder

* code optimization

* code refactored

* correction of the html attributes variable
2023-06-09 14:30:29 +08:00
Lucas.Xu
c573b9a80f
feat: rename delta and document (#153)
* chore: rename delta

* fix: rename attributes to data

* chore: rename document to page

* fix: flutter analyze
2023-06-01 14:43:12 +08:00
Lucas.Xu
839bb94cba feat: support paste html 2023-05-31 16:05:49 +08:00
Lucas.Xu
31bfd5da5c feat: implement editor migration 0.1.x -> 0.2.0 2023-05-22 23:33:51 +08:00
Lucas.Xu
1242c01828 feat: refactor the editor_service 2023-05-04 15:46:14 +08:00
Lucas.Xu
8931433400 chore: migrate the command_extension 2023-04-30 15:32:29 +08:00
Lucas.Xu
1d0055d0b1 feat: adjust the text command 2023-04-30 15:01:09 +08:00
Lucas.Xu
2bf07055ed feat: implement node extension, allSatisfyInSelection 2023-04-28 19:48:34 +08:00
Lucas.Xu
23350d21fb feat: implement toolbar 2023-04-28 16:25:51 +08:00
Lucas.Xu
037c3f37f4 feat: implement floating toolbar 2023-04-25 19:58:48 +08:00
Lucas.Xu
4f4c93e92f feat: implement transform 2023-04-21 21:03:35 +08:00
Lucas.Xu
2487408920 feat: implement mobile toolbar 2023-04-20 13:45:46 +08:00
Lucas.Xu
e8280bd2b4 chore: update the directory structure 2023-04-20 10:20:06 +08:00
Lucas.Xu
a1ef08006b feat: implement to-do list component 2023-04-18 15:44:11 +08:00
Ali Hassan
865195f8c6
feat : allow developer to change toolbar color as well as option to show default toolbar items and html to document converter added (#58)
* change toolbar and added export so developer can modify according to its need

* revert some chages from examples

* html to document convertion added

* test added

* code formated

* node to html added image parameter

* toolbar color and elevation added in editor stylee

* code formated

* remove duplicated exports

* fix test improts and formating
2023-04-14 10:10:03 +08:00
Lucas.Xu
7885d5f1ff
chore: sync the latest code from AppFlowy (#41)
* chore: sync latest code from appflowy

* chore: sync latest tests from appflowy
2023-04-06 15:55:23 +08:00
Lucas.Xu
dadd83da1f
chore: export editor style (#27) 2023-03-22 17:30:21 +08:00
Lucas.Xu
38d0ce16f6 chore: export editor style 2023-03-22 17:01:00 +08:00
Lucas.Xu
c89ea36ce7
chore: sync the latest code from main repo (#25) 2023-03-22 16:36:32 +08:00
Lucas.Xu
b3f76a2bcc chore: release 0.1.2 2023-03-15 20:52:34 +08:00
Lucas.Xu
1a467d39b9 chore: fix some known issues 2023-03-15 20:48:02 +08:00
Lucas.Xu
682e3dce53
chore: pre-release 0.1.1 (#3) 2023-03-09 15:38:54 +08:00
Lucas.Xu
5db0480075 chore: update LICENSE 2023-02-05 11:43:51 +08:00
Renamed from frontend/app_flowy/packages/appflowy_editor/lib/appflowy_editor.dart (Previous history)