Commit graph

877 commits

Author SHA1 Message Date
Lucas.Xu
070ceb3e27
feat: migrate the delta encoder (#277) 2023-07-03 19:19:32 +08:00
Akarsh Jain
cba0647f7f
fix: upload button UI issue in dark mode 2023-07-03 17:06:11 +08:00
Vincenzo Ursano
c8082d38df
feat: support exitting the link menu by pressing ESC 2023-07-03 17:05:42 +08:00
Yijing Huang
8bfb37f691
fix: keep keyboard appearance as same brightness as system theme (#264) 2023-07-03 12:51:18 +08:00
Garv Shah
2688efb908
docs: updated theming documentation to reflect depreciations (#262)
* docs: updated theming documentation to reflect depreciations

* fix: formatting

* fix: formatting

* fix: formatting
2023-07-03 11:20:06 +08:00
Lucas.Xu
87a164256e
feat: support customizing the block icon (#274) 2023-07-03 11:07:43 +08:00
Lucas.Xu
572a174892 fix: typo 2023-06-30 16:42:37 +08:00
Lucas.Xu
3ccb2ad698
chore: optimize the upload image widget UI (#267) 2023-06-30 16:25:58 +08:00
Lucas.Xu
a64d9de50f
fix: image menu always shows (#266) 2023-06-30 14:19:36 +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
Garv Shah
fdf45f9793
fix: desktop tooltips incorrect (#259) 2023-06-28 19:16:04 +08:00
Vedant Pandey
a1ae5eae69
fix: add underline syntax parser (#256) 2023-06-27 22:21:03 +08:00
Lucas.Xu
250b1a5985 chore: add reload function into editor state 2023-06-27 17:53:53 +08:00
Lucas.Xu
1ffb58d603
fix: ignore the same value update in input service (#257)
* Revert "Revert "feat: support mobile IME (#255)""

This reverts commit dec2c9c502.

* fix: ignore the same value update in input service
2023-06-27 14:42:30 +08:00
Lucas.Xu
dec2c9c502 Revert "feat: support mobile IME (#255)"
This reverts commit 727bdfe1e1.
2023-06-27 11:46:04 +08:00
Muhammad Rizwan
fe0aa7192b
feat: support item count filter in selection menu results (#254)
* feat: support item count filter in selection menu

* chore: code formatting

* chore: formatting

* chore: removed example changes

* chore: example files fix
2023-06-27 11:16:20 +08:00
Lucas.Xu
727bdfe1e1
feat: support mobile IME (#255) 2023-06-27 11:15:44 +08:00
Lucas.Xu
e4951c9a3c
feat: replace DeltaTextInputClient with TextInputClient (#253)
* fix: error occurs when applying divider on Mobile

* feat: replace DeltaTextInputClient with textInputClient
2023-06-26 11:12:46 +08:00
Lucas.Xu
60f45b505b
fix: error occurs when applying divider on Mobile (#252) 2023-06-25 17:15:13 +08:00
Yijing Huang
09fd4c8d56
feat: text and background color in mobile toolbar (#233)
* refactor: move shared code out of desktop

* refactor: fix double exist error and extract color option

* feat: update color icon

* refactor: refactor MobileToolbarItemMenuBtn to be more flexiable

* feat: add textAndBackgroundColorMobileToolbarItem

* chore: dart fix

* refactor: extract MobileToolbarMenuGridDelegate

* chore: update UI parameters

* refactor: delete format color in format_rich_text_style.dart and refactor the code

* chore: remove the bottom line of tabbar

* refactor: set color opitions to be customizable

* chore: add scrollbar in opitions grid view

* test: update code to pass the previous tests

* chore: add Material in testing

* chore: unify text and background default color opitions

* test: add textAndBackgroundColorMobileToolbarItem test

* chore: update AppFlowyEditorLocalizations

* chore: replace string by components' key in tests

* test: add color options widgets tests

* chore: dart fix

* chore: dart format
2023-06-25 15:06:52 +08:00
Lucas.Xu
2ea98f1491
fix: extend attribute keys shouldn't be sliced (#248) 2023-06-24 10:51:31 +08:00
Lucas.Xu
d359da89c9
feat: support customizing text attribute key and rendering (#244) 2023-06-23 18:36:33 +08:00
Lucas.Xu
cd0f67a48e feat: scroll to top or bottom directly when using meta+shift+arrow up/down 2023-06-23 09:56:37 +08:00
Lucas.Xu
42cd0469b2 fix: checkbox align 2023-06-22 21:19:57 +08:00
Lucas.Xu
32699764c3
fix 1.0.4 known issues (#242)
* fix: shouldn't show toolbar when selecting the divider

* fix: link and text color not in the format bar when selecting multiple lines

* fix: /checkbox doesn't enter the edit mode
2023-06-22 21:12:02 +08:00
Lucas.Xu
eec1d19de7
fix: the cursor is inaccuracy when the text contains special emoji (#238) 2023-06-22 15:06:53 +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
Lucas.Xu
5b2ea642e4
fix: focus node doesn't work on mobile (#227) 2023-06-21 17:54:04 +08:00
Lucas.Xu
4f83b6feb9
feat: support broadcast the transaction before applying it (#226) 2023-06-21 13:21:52 +08:00
Lucas.Xu
d4a2d0275e
fix: using IME on macOS will lose focus sometimes (#223) 2023-06-21 13:06:16 +08:00
Lucas.Xu
f3012504b6 chore: bump version 1.0.4 2023-06-21 10:20:15 +08:00
Lucas.Xu
1eff009724
feat: support IME in macOS (#221) 2023-06-21 10:08:37 +08:00
Aman Negi
03bc577fcd
feat: add underline shortcut (#199)
* feat: Add underline divider shortcut

* chore: stage uncommitted files

* chore: Add tests for character_shortcut_event
2023-06-20 22:33:46 +08:00
Lucas.Xu
b0fa1fffa1
fix: mobile selection scroll should work on both side (#220)
* fix: the cursor is blocked by the soft keyboard in some cases

* fix: mobile selection scroll should work on both side
2023-06-20 20:42:39 +08:00
Lucas.Xu
421ea5917c
feat: support customizing number of the numbered list (#219)
* feat: support customizing number of the numbered list

* test: add tests
2023-06-20 17:13:10 +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
Lucas.Xu
2d3ab80c8f
fix: #215 unable to delete the divider via backspace (#216) 2023-06-20 15:31:55 +08:00
Lucas.Xu
9610ab8ce0
fix: numbered lists have issue with the dot (#217) 2023-06-20 11:52:00 +08:00
Lucas.Xu
2a5069d62b chore: remove floating action button 2023-06-20 11:07:44 +08:00
Jason Wen
c8e7cb69cc
fix: added default options to both text color and background color me… (#208)
* fix: added default options to both text color and background color menus (#202)

* Formatting

* formatted using dart format

* chore: refactor the format logic

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-20 10:44:00 +08:00
Mohammad Zolfaghari
86f2d2438c
fix: toolbar position at most top (#214)
* fix: toolbar position at most top

* test: add test

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-20 10:42:57 +08:00
Lucas.Xu
6e79060260
feat: support mobile drag selection (#209)
* feat: add handler for mobile selection widget

* feat: support dragging handler to update selection

* chore: format code

* feat: support dragging the cursor on mobile platform

* feat: optimize the scroll service
2023-06-20 10:26:22 +08:00
Mukund Tandon
b298ceb643
feat: added code block support for conversion from markdown to document (#197)
* feat: added support for markdown codeblock to be converted to ducument

* test: added test for code block support for markdown to document conversion

* fix: disabled encode html which use to cause covert double quotes to &quot

* fix: the issue of all code being displayed in single line is fixed

* fix: fixed failing checks

* fix: fixed failing checks

* fix: fixed failing test

* Update lib/src/plugins/markdown/decoder/delta_markdown_decoder.dart

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

* fix: made changes from the code review

* refactor: made changes in code to handle edge cases and made changes given in code review

* fix: fixed failing checks

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-19 10:08:31 +08:00
Mayur Mahajan
860205c017
fix: behaviour of home and end keys on windows (#213)
* feat: add ctrl+home or end to scroll

* fix: home and end to move in line

* fix: typo redo

* test: home and end command

* fix: ctrl+arrow still works on windows and linux

* test: check behavior on windows nd linux
2023-06-19 09:50:41 +08:00
Lucas.Xu
4f077aeb2a
feat: optimize the scroll service (#210) 2023-06-16 19:24:22 +08:00
Lucas.Xu
76c854bd5a
fix: tabbing whitespace at the front will convert current paragraph into heading (#206) 2023-06-16 11:27:51 +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
Lucas.Xu
fd91122919 chore: bump version 1.0.3 2023-06-15 15:53:51 +08:00
Lucas.Xu
d2460c9594
feat: enable customizing editor's focus (#198) 2023-06-15 12:40:22 +08:00