Commit graph appflowy-editor/test/render
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
Morn
429ab33652
fix: support custom non-standard urls (#1042) 2025-02-27 14:21:00 +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
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
7d2b456ef9
feat: improve ios touch gesture (#648) 2024-01-05 14:44:39 +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
20a714ae08
fix: todo list lost focus (#633)
* fix: click the todo icon will lose focus

* chore: rename selection extra info keys

* fix: disable create a new line when pressing the return key

* fix: selection overlay issues
2023-12-26 22:50:49 +08:00
Lucas.Xu
ace40a9965
feat: support clicking the selection area to disable floating toolbar (#632) 2023-12-26 09:10:03 +08:00
Lucas.Xu
89b93d89a7
feat: optimize editable features (#541) 2023-10-17 17:38:27 +08:00
Lucas.Xu
19f999f422
feat: optimize the performance (#442) 2023-09-11 15:03:14 +08:00
Mathias Mogensen
52486cc6a3 test: improve coverage 2023-08-17 13:13:45 +08:00
Ali Hassan
73d56b44e2
fix: copy handler migrated to latest api (#240) 2023-07-25 10:08:18 +08:00
Lucas.Xu
33b18d98dc
fix: block selection overflow (#312) 2023-07-13 19:56:12 +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
435f1a6f9a
feat: support customizing image menu (#265) 2023-06-30 13:40:18 +08:00
Mukund Tandon
ed75bf61df
feat: support uploading images from local files (#232) 2023-06-28 19:59:59 +08:00
Lucas.Xu
d2460c9594
feat: enable customizing editor's focus (#198) 2023-06-15 12:40:22 +08:00
Lucas.Xu
65d264731b feat: implement copy & paste and refactor toolbar item 2023-05-16 18:57:53 +08:00
Yijing Huang
5c43d1daad
feat: migrate link menu and color picker (#4)
* chore: move selectionRects to editorState

* chore: delete unused attributeKey font

* feat: refactor showLinkMenu and LinkMenu

* feat: replace old linkMenu

* feat: add text color toolbar item
- separate text color and highlight color item in toolbar
- renaming in BuiltInAttributeKey(color -> textColor, backgroundColor -> highlightColor)
- add text color and highlight color attribute in example.json
- add icons for text color and highlight color in the toolbar

* feat: add highlight color item in toolbar
- add clear highlight color button
- add onDismiss in ColorPicker to remove the overlay after remove highlight color

* chore: delete old ColorPicker

* test: migrate link menu test

* chore: remove editorStyle from color menu and color picker

* test: add color picker test

* feat: remove editor style from link menu
- add utils function and widgets for overlay
- organize utils folder
- add constant text into AppFlowyEditorLocalizations
- improve pop up menu style

* feat: add show link menu command shortcut
- refactor CommandShortcutEventHandler
- update related callback

* feat: add showTextColorMenuCommand and showHighlightColorMenuCommand

* fix: fix merge error in example.json

* refactor: reorganize the file hierarchy

* refactor: migrate format_style_handler_test.dart
- delete format_style_handler_test.dart
- migrate to markdown_commands_test.dart
- move highlight test outside of markdown_commands_test

* feat: delete show menu type command shortcut and their tooltip

* fix: fix tooltip text

* chore: delete context from CommandShortcutEventHandler

* feat: add command shortcut for link menu

* test: add show link menu command test
2023-05-11 11:26:52 +08:00
Lucas.Xu
19ab87cf8a test: migrate all the test cases 2023-05-03 20:13:05 +08:00
Lucas.Xu
9f71058dac feat: migrate image node 2023-05-03 19:59:33 +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
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
Mathias Mogensen
c19239e071
feat: custom color for text font and background using hex values
* feat: add custom color option for text

* fix: fixed failing checks of previous commit

* chore: apply suggestions from code review

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>

* test: added test for custom color picker feature in color picker

* fix: handled the condition where if user enters a wrong color hex value

* test: added tests for custom color feature in color picker

* fix: fixed failing checks on privious commits

* fix: fixed formatting in files

* fix: linters

---------

Co-authored-by: Mukund-Tandon <mukundtandon1211@gmail.com>
Co-authored-by: Mukund Tandon <71614009+Mukund-Tandon@users.noreply.github.com>
Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-04-14 09:59:01 +08:00
Mathias Mogensen
cf5e83d370
chore: add linters conforming to style guide (#59)
Relates: #56 #57
2023-04-12 20:37:50 +08:00
Mathias Mogensen
fd13ad47da
test: improve coverage (#61)
Relates: #16
2023-04-12 11:17:10 +08:00
Mathias Mogensen
5239a461b2
fix: cannot edit image if editorState is uneditable (#30) 2023-04-06 16:27:24 +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
Mathias Mogensen
226d39cc78
test: improve test coverage (#23) 2023-03-24 20:59:03 +08:00
Lucas.Xu
c89ea36ce7
chore: sync the latest code from main repo (#25) 2023-03-22 16:36:32 +08:00
Mathias Mogensen
f0a357bb74
feat: shrinkWrap option for AppFlowyEditor (#20)
* feat: shrinkWrap option for AppFlowyEditor

Relates: #19

* test: add autoFocus tests for editor service

* chore: Update lib/src/core/transform/operation.dart

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

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-03-20 19:13:51 +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