Commit Graph

622 Commits

Author SHA1 Message Date
Lucas.Xu
b372028671 chore: Keep the test directory and code directory structure consistent 2022-08-15 10:32:42 +08:00
Lucas.Xu
07ab4c2680 test: add flowy_editor_test into github workflows 2022-08-15 10:26:30 +08:00
Lucas.Xu
d6f1593a20 test: implement enter key test for styled text 2022-08-15 10:25:56 +08:00
Lucas.Xu
e508d7414c chore: delete legacy test file 2022-08-15 10:25:56 +08:00
Lucas.Xu
a6bba5a0f9 feat: implement editor test infra 2022-08-15 10:25:56 +08:00
appflowy
f6263f758f fix: multi scrollview warning 2022-08-13 13:55:33 +08:00
appflowy
28e77ae68c chore: add card container 2022-08-13 11:51:26 +08:00
appflowy
2282aa948e chore: support link/number/multiselect/checkbox board cell 2022-08-13 10:01:40 +08:00
Vincent Chan
5b1c66ee1e
Merge pull request #838 from AppFlowy-IO/feat/deep-copy-nodes
Feat: deep clone nodes
2022-08-12 19:35:53 +08:00
Vincent Chan
d822e1e2ca fix: paste nodes 2022-08-12 18:44:56 +08:00
Vincent Chan
ba05aa137e feat: filter the empty delta 2022-08-12 18:17:05 +08:00
Vincent Chan
0424c14c7d feat: deep clone nodes 2022-08-12 18:00:00 +08:00
Nathan.fooo
435d1b8354
Merge pull request #820 from AppFlowy-IO/feat/appflowy_board
Feat/appflowy board
2022-08-12 17:11:49 +08:00
Vincent Chan
53cb05998b feat(doc): HTML converter 2022-08-12 16:38:33 +08:00
appflowy
055868bae3 chore: build board card ui 2022-08-12 16:30:08 +08:00
Vincent Chan
61aaa20113 feat: handle text-decoration for text styles 2022-08-12 16:25:50 +08:00
Vincent Chan
0f404e5527 feat: strike 2022-08-12 16:14:36 +08:00
Vincent Chan
690ec5cc94 feat: italic 2022-08-12 16:01:41 +08:00
Vincent Chan
ee80fd5d97 feat: copy underline 2022-08-12 16:01:41 +08:00
Vincent Chan
68a1acc9f2
Merge pull request #831 from AppFlowy-IO/doc/transaction-and-deltas
Doc: transaction and deltas
2022-08-12 15:44:50 +08:00
Vincent Chan
7d6f872fed feat(doc): EditorState 2022-08-12 14:28:52 +08:00
Vincent Chan
76a317a9fb refactor: remove delted nodes 2022-08-12 14:03:35 +08:00
Vincent Chan
f0ed15440a feat(doc): document's state 2022-08-12 14:00:56 +08:00
Vincent Chan
f2c624778e feat(doc): transaction and deltas 2022-08-12 13:51:12 +08:00
Lucas.Xu
1b5d717560 fix: #832 2022-08-12 13:40:35 +08:00
Nathan.fooo
cc39e03f4c
Merge pull request #828 from LucasXu0/main
fix: #827
2022-08-11 22:36:03 +08:00
Vincent Chan
456502586b fix: undo attributest 2022-08-11 20:35:28 +08:00
Lucas.Xu
f708afe673 fix: #827 2022-08-11 20:14:36 +08:00
Vincent Chan
f913e00856
Merge pull request #823 from ChiragKr04/feat/close-dialog-on-esc-press
fix: closing rename dialog on escape key press
2022-08-11 19:22:44 +08:00
Vincent Chan
c53df59b48
Merge pull request #824 from AppFlowy-IO/feat/handle-edit-keys
Feat: handle edit keys
2022-08-11 19:08:53 +08:00
Lucas.Xu
42fe2f675a
Merge pull request #813 from LucasXu0/fix/#811
#811, #814, #818
2022-08-11 19:08:28 +08:00
Chirag Bargoojar
96cdb82ca4
fix: removed .then() handler 2022-08-11 15:57:55 +05:30
Lucas.Xu
508b276a79 feat: dismiss popup list if no results 2022-08-11 18:26:16 +08:00
Lucas.Xu
6913550f92 fix: the popup list position is too lower 2022-08-11 17:24:25 +08:00
Vincent Chan
716d1f93e7 feat: page up down handler 2022-08-11 17:23:14 +08:00
Lucas.Xu
1667d14e90 chore: rename checkbox to to-do list 2022-08-11 17:08:34 +08:00
Lucas.Xu
19838227d9 feat: #818 improve user experience of the slash command 2022-08-11 17:02:04 +08:00
Vincent Chan
c42f9001c4 feat: select all 2022-08-11 16:45:53 +08:00
Vincent Chan
4794203e74 feat: handle delete keys 2022-08-11 16:17:54 +08:00
chiragkr04
f4fa185976 fix: closing rename dialog on escape key press 2022-08-11 13:32:48 +05:30
Vincent Chan
8f6eb5a0d6 fix: revert delta of bold 2022-08-11 15:25:42 +08:00
Vincent Chan
afe11a4f91 fix: selection state mismatch 2022-08-11 13:47:49 +08:00
Lucas.Xu
3087594b3c fix: #814 2022-08-11 13:38:40 +08:00
appflowy
8b535720ef chore: add AF prefix to appflowy_board classes 2022-08-11 13:33:36 +08:00
Lucas.Xu
fe2790fb68 fix: #811 The height of selection areas in same line is not same. 2022-08-11 11:49:54 +08:00
Lucas.Xu
9b00a25004 fix: the height of the selection rects in same line is not same 2022-08-11 10:59:59 +08:00
Lucas.Xu
eac54aefd7
Merge pull request #810 from LucasXu0/doc/flowy_selection_documentation
selection service documentation and implement auto wrap when selection changes.
2022-08-11 10:46:08 +08:00
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