Commit Graph

575 Commits

Author SHA1 Message Date
Lucas.Xu
50f8e1f5d0 feat: implement automatically wrap when the selection changes 2022-08-10 20:07:54 +08:00
Lucas.Xu
1eec97c761 chore: refactor the service type 2022-08-10 20:07:54 +08:00
Lucas.Xu
ae0012ba37 docs: documentation for selection_service 2022-08-10 20:07:49 +08:00
Vincent Chan
223c8cafd4 fix: crashes when deleting emoji 2022-08-10 18:07:25 +08:00
Vincent Chan
b5ecd7dedc test: next runes 2022-08-10 18:03:39 +08:00
Vincent Chan
c554720dff fix: emoji position 2022-08-10 17:50:27 +08:00
Vincent Chan
bee1a04329 feat: compute string indexes 2022-08-10 17:50:27 +08:00
Vincent Chan
45556ae015 refactor: flutter style optional chaining 2022-08-10 17:50:27 +08:00
Vincent Chan
eb519f4e11 feat: add cache to text_delta 2022-08-10 17:50:27 +08:00
Vincent Chan
737e374a54 refactor: text-delta 2022-08-10 17:50:27 +08:00
Vincent Chan
a26b693807 feat: add comments to HTMLConvertert 2022-08-10 16:06:00 +08:00
appflowy
0d6c04ae81 chore: load field typeOption 2022-08-10 16:04:04 +08:00
Vincent Chan
0c0039ca95 Merge branch 'main' into feat/copy-styles 2022-08-10 15:28:39 +08:00
Vincent Chan
c2a295d9cd feat: copy styles of text delta 2022-08-10 15:26:14 +08:00
Lucas.Xu
046faf3880 fix: unexpect behaviour when pressing enter key 2022-08-10 15:07:30 +08:00
Lucas.Xu
79591791c1 chore: move all code into src/ 2022-08-10 14:33:54 +08:00
Vincent Chan
20fb714550 refactor: rename highlightColor to backgroundColor 2022-08-10 14:22:35 +08:00
Vincent Chan
430e9974be feat: convert number list 2022-08-10 13:53:10 +08:00
Vincent Chan
e606306635 feat: converter 2022-08-10 13:39:29 +08:00
Vincent Chan
4140994fed feat: paste ordered list 2022-08-10 13:17:58 +08:00
Vincent Chan
a59c809847 feat: copy checkbox style 2022-08-10 11:44:32 +08:00
Vincent Chan
d40a3c33fd feat: copy paste check box 2022-08-10 11:28:56 +08:00
Nathan.fooo
7f249ebae2
Merge pull request #801 from LucasXu0/feat/text_style
Feat/text style
2022-08-09 19:53:31 +08:00
Lucas.Xu
6a27c490aa fix: selection error in edge 2022-08-09 19:43:28 +08:00
Lucas.Xu
215587a507 chore: format code 2022-08-09 19:37:46 +08:00
Lucas.Xu
3e256be0b9 fix: checkbox placeholder error 2022-08-09 19:19:35 +08:00
Lucas.Xu
0650c40d9d fix: checkbox error
pressing Enter after a checked-off item, the new checkbox is also checked off. it should be unchecked when it’s newly created.
2022-08-09 19:11:21 +08:00
Lucas.Xu
1391d202a9 fix: could not remove text style when pressing enter in empty text node 2022-08-09 19:03:55 +08:00
Lucas.Xu
4223324689 fix: cursor height error 2022-08-09 18:54:33 +08:00
Lucas.Xu
8fa55cfa08 feat: text insert and replace with selection styles 2022-08-09 18:19:11 +08:00
Lucas.Xu
b7cb4b647d fix: the editor loses focus occasionally 2022-08-09 17:52:11 +08:00
Lucas.Xu
e9d8dc9657 feat: increase line spacing 2022-08-09 17:50:32 +08:00
Lucas.Xu
ac3af7e01b
Merge pull request #799 from LucasXu0/feat/text_style
fix: text align error
2022-08-09 15:33:28 +08:00
Lucas.Xu
255cb47876 fix: text align error 2022-08-09 15:32:28 +08:00
Nathan.fooo
befdb10554
Merge pull request #797 from AppFlowy-IO/fix/undo-redo-handler
fix: undo redo handler
2022-08-09 15:23:16 +08:00
Lucas.Xu
a032a0e8db
Merge pull request #798 from LucasXu0/feat/text_style
update text style and document style.
2022-08-09 15:22:14 +08:00
Lucas.Xu
6f32f749bc fix: delete style widget error 2022-08-09 15:15:53 +08:00
Lucas.Xu
4464f2abfe feat: make the text node widget align center. 2022-08-09 14:50:31 +08:00
Vincent Chan
7c58654fe8 fix: undo redo handler 2022-08-09 14:04:40 +08:00
Nathan.fooo
b9de45a110
Merge pull request #792 from LucasXu0/feat/mouse_cursor_style
Feat/mouse cursor style
2022-08-09 13:48:49 +08:00
Nathan.fooo
aaee3003ce
Merge pull request #793 from AppFlowy-IO/feat/refactor_plugin_path
Refactor plugins path
2022-08-09 12:37:52 +08:00
Lucas.Xu
b9c0c1209a feat: support more command + x shortcut 2022-08-09 11:46:40 +08:00
Vincent Chan
8e310d233f
Merge pull request #790 from AppFlowy-IO/feat/copy-styles
Feat/copy styles
2022-08-09 11:30:30 +08:00
Lucas.Xu
f4a31768cb feat: support rendering text background color and text color 2022-08-09 11:20:53 +08:00
Lucas.Xu
fdbecd7f10 fix: typo 2022-08-09 10:46:51 +08:00
Lucas.Xu
06d11a91d1 feat: lineThrough and underline can coexist 2022-08-09 10:44:00 +08:00
appflowy
61df3848e4 chore: update appflowy_board pub.dev config 2022-08-09 10:03:42 +08:00
Lucas.Xu
585c9f8753 fix: fix something wrong when deleting the text nodes 2022-08-08 23:28:40 +08:00
Lucas.Xu
af2f6a03d5 feat: implement logic that pressing enter key without shift key in text nodes 2022-08-08 23:18:07 +08:00
Lucas.Xu
364a8e6ad2 chore: replace 'checkbox' with StyleKey.checkbox 2022-08-08 22:29:02 +08:00
Lucas.Xu
6dcf3b3fa7 feat: set mouse cursor style to text when hovering on the text node 2022-08-08 20:34:26 +08:00
Nathan.fooo
70fbcb0de9
Merge pull request #774 from AppFlowy-IO/feat/board_ui
Feat/board UI
2022-08-08 20:27:20 +08:00
Nathan.fooo
ef8d154736
Merge pull request #788 from LucasXu0/fix/ime_error
fix: could not delete character when using IME
2022-08-08 20:08:12 +08:00
appflowy
0abd62829c chore: update pubspec path 2022-08-08 19:59:17 +08:00
Vincent Chan
9d9b0e5878 feat: add stringify tag 2022-08-08 19:09:19 +08:00
Nathan.fooo
0bf4a79ec9
Merge pull request #787 from AppFlowy-IO/feat/add-default-impl-for-image
Feat: add default impl for image
2022-08-08 18:47:48 +08:00
Nathan.fooo
a138b32c8e
Merge pull request #786 from LucasXu0/feat/markdown_input
implement markdown input style, like, #, *, -, -[]
2022-08-08 18:47:16 +08:00
appflowy
db5b3e3bd3 chore: update ui 2022-08-08 18:43:37 +08:00
Lucas.Xu
27ea5a11a9 feat: disable scroll when showing popuplist 2022-08-08 18:40:09 +08:00
Lucas.Xu
6e71ec23a1 feat: delete slash when using the popuplist and pressing enter key 2022-08-08 18:24:11 +08:00
Lucas.Xu
1ece5cfd9e feat: binary search selection supports searching child nodes 2022-08-08 18:11:20 +08:00
Naughtz
0d1eb5e48d
Merge branch 'AppFlowy-IO:main' into main 2022-08-08 16:45:48 +08:00
Lucas.Xu
2f84d7e54e fix: fix crash when selecting the last node 2022-08-08 16:17:17 +08:00
Lucas.Xu
dc018bc7e4 fix: could not delete character when using IME 2022-08-08 16:08:01 +08:00
Vincent Chan
91c62cb0ae feat: add default impl for image node 2022-08-08 15:46:02 +08:00
Lucas.Xu
19fc154681 feat: implement markdown input, like, #, *, -, -[] 2022-08-08 15:33:11 +08:00
Vincent Chan
7eb95def7c feat: handle triple tap 2022-08-08 14:43:45 +08:00
Lucas.Xu
7855e5403c feat: convert text to bulleted list style when inputing '* ' or '- ' 2022-08-08 13:59:38 +08:00
Naughtz
237f2f6190
Merge branch 'AppFlowy-IO:main' into main 2022-08-08 13:39:46 +08:00
Lucas.Xu
849e19e1ef fix: popuplist will not show when the selection is not collapsed 2022-08-08 13:37:56 +08:00
Naughtz
402b29b3e3 feature: MouseCursor for expanding row #687 2022-08-08 12:04:28 +08:00
Lucas.Xu
9b9de523da fix: flowy_rich_text will not automatically wrap when the text exceeds a line 2022-08-08 10:54:09 +08:00
appflowy
971a5e245a chore: rename folder 2022-08-08 10:49:00 +08:00
Lucas.Xu
25387cd0b0 feat: customizes quoted text style 2022-08-08 10:29:45 +08:00
Lucas.Xu
59838f5845 feat: customizes checkbox text style 2022-08-08 10:29:45 +08:00
Lucas.Xu
f6fbe55477 feat: flowy_rich_text supports placeholder and customizes placeholder style 2022-08-08 10:29:45 +08:00
Lucas.Xu
274b3d1d25 fix: focusNode lost focus 2022-08-08 10:29:45 +08:00
appflowy
a333f558f4 chore: rename flowy_board to appflowy_board 2022-08-08 10:27:58 +08:00
Lucas.Xu
2b113aae7f chore: format code 2022-08-08 10:23:43 +08:00
appflowy
ae57216c0a chore: add license 2022-08-07 16:11:42 +08:00
Lucas.Xu
fb267ace18 feat: optimize the calculation of cursor position and selection position 2022-08-07 12:18:16 +08:00
Lucas.Xu
7e6c7a2b4e feat: refactor current selection and current selectedNodes in selection_service 2022-08-07 11:45:27 +08:00
appflowy
1ba24c00ba chore: fix reset phantom record bug 2022-08-07 11:26:45 +08:00
appflowy
621c9615a1 chore: update import path 2022-08-07 10:46:31 +08:00
appflowy
c035c9cf93 chore: config insert animation 2022-08-06 14:52:39 +08:00
appflowy
151e735d27 chore: dart fmt 2022-08-06 11:21:25 +08:00
Lucas.Xu
4b4ce1020d feat: optimize selection implement by binary search 2022-08-06 00:08:03 +08:00
Nathan.fooo
25226bf26b
Merge pull request #769 from AppFlowy-IO/feat/handle-google-docs-style
Feat: handle google docs html style
2022-08-05 23:56:39 +08:00
Nathan.fooo
adc03a1741
Merge pull request #772 from AppFlowy-IO/feat/video_plugin
feat: implement youtube link plugin
2022-08-05 23:55:40 +08:00
Nathan.fooo
4d6227c502
Merge pull request #773 from LucasXu0/feat/macos_ime_support
feat: support IME in macOS
2022-08-05 23:55:23 +08:00
appflowy
8ca1cc0a21 chore: add documentation 2022-08-05 23:53:50 +08:00
appflowy
9e4dbc53f7 chore: add documentation 2022-08-05 20:33:00 +08:00
Lucas.Xu
ec47aa51a1 feat: support IME in macOS 2022-08-05 20:05:36 +08:00
annie
9b86e06377 feat: implement video plugin 2022-08-05 19:42:39 +08:00
Nathan.fooo
d758cc749a
Merge pull request #768 from LucasXu0/feat/auto_scroll_service
implement autoscrolling on edge touch
2022-08-05 19:25:02 +08:00
Vincent Chan
e472c64506 feat: handle google docs paste style 2022-08-05 15:04:24 +08:00
appflowy
2e0256f305 fix: inserted index out of boundr 2022-08-05 12:51:47 +08:00
appflowy
e592a09ec3 chore: remove phantom where dragTarget disappear 2022-08-05 12:09:27 +08:00
appflowy
3977925e8a chore: add documentation 2022-08-05 11:59:20 +08:00
Lucas.Xu
70853b918e Merge remote-tracking branch 'origin/main' into feat/toolbar_service 2022-08-05 11:04:21 +08:00