73 Commits

Author SHA1 Message Date
Lucas.Xu
79591791c1 chore: move all code into src/ 2022-08-10 14:33:54 +08:00
Vincent Chan
91c62cb0ae feat: add default impl for image node 2022-08-08 15:46:02 +08:00
Lucas.Xu
2b113aae7f chore: format code 2022-08-08 10:23:43 +08:00
Lucas.Xu
4b4ce1020d feat: optimize selection implement by binary search 2022-08-06 00:08:03 +08:00
annie
9b86e06377 feat: implement video plugin 2022-08-05 19:42:39 +08:00
Lucas.Xu
70853b918e Merge remote-tracking branch 'origin/main' into feat/toolbar_service 2022-08-05 11:04:21 +08:00
Lucas.Xu
eb7c65aa8b feat: add empty document entry in example 2022-08-03 22:12:52 +08:00
Vincent Chan
67fd06366e feat: handle HTMLElement 2022-08-03 15:33:54 +08:00
Lucas.Xu
a1be60721e fix: pressing enter key in the edge of node doesn't work good. 2022-08-02 17:16:07 +08:00
Lucas.Xu
56ac86fb51 chore: add some comments in image plugins. 2022-08-02 15:44:32 +08:00
Lucas.Xu
934cb6ab6b feat: implement toolbar UI part. 2022-08-01 17:42:37 +08:00
Lucas.Xu
55d46edeaf fix: node change notifier doesn't work 2022-07-29 23:16:56 +08:00
Lucas.Xu
ed1dc8ccef feat: refactor render plugin service
1. abstract render plugin as service.
2. simplify plugin development.
3. delete unused code
2022-07-29 14:29:39 +08:00
Lucas.Xu
ec83a68602 chore: resolve conflicts. 2022-07-29 10:20:48 +08:00
Lucas.Xu
fce8ea1e80 feat: add checkbox style 2022-07-28 23:04:51 +08:00
Vincent Chan
3e2883aa3b Merge branch 'feat/flowy_editor' into feat/handle-arrow-keys 2022-07-28 14:35:43 +08:00
Lucas.Xu
985fe14a8b feat: update RichText render style 2022-07-28 11:41:39 +08:00
Lucas.Xu
45a8566e61 feat: implement rich text component in flowy_ediotr and support markdown style rendering. 2022-07-27 20:24:26 +08:00
Vincent Chan
53b982e7c9 feat: arrow up and down 2022-07-27 18:19:21 +08:00
Vincent Chan
e74f5e84dc feat: handle arrow keys 2022-07-27 15:53:37 +08:00
Lucas.Xu
155b675dbe feat: implement input service(alpha) 2022-07-27 10:56:30 +08:00
Lucas.Xu
c048c8f623 fix: compute wrong upward selection 2022-07-26 23:31:56 +08:00
Lucas.Xu
cde2127dec feat: compute cursor and selection by [Selection] or [Offset] 2022-07-26 20:10:47 +08:00
Lucas.Xu
114ae2b45d feat: compute cursor and selection by [Selection] or [Offset] 2022-07-26 18:40:53 +08:00
Lucas.Xu
941671568e chore: remove unused import 2022-07-26 14:31:10 +08:00
Lucas.Xu
1907284534 chore: add selection_service documentation and resymbol shortcut service. 2022-07-26 13:36:32 +08:00
Nathan.fooo
b967453047
Merge pull request #709 from LucasXu0/feat/flowy_editor
feat: Implement arrow up/down/left/right event handler. #708
2022-07-26 11:54:44 +08:00
Lucas.Xu
fcb09e9636 feat: typo and document 2022-07-25 20:23:24 +08:00
Lucas.Xu
0bf1e61d55 feat: implement floating shortcut 2022-07-25 18:28:00 +08:00
Lucas.Xu
2f86cac8af feat: Implement arrow up/down/left/right event handler. #708 2022-07-25 15:58:57 +08:00
Nathan.fooo
8b11028aa1
Merge pull request #667 from LucasXu0/feat/flowy_editor
feat: render selection and cursor.
2022-07-25 14:17:15 +08:00
Lucas.Xu
e1d990e4ae feat: support floating selection and delete textnode 2022-07-25 14:14:40 +08:00
Lucas.Xu
f58a6c9523 feat: implement floating cursor and selection 2022-07-25 11:07:20 +08:00
Vincent Chan
a120853d06 feat: redo 2022-07-22 15:49:56 +08:00
Lucas.Xu
a6ede7dc75 feat: add a floating cursor and follow the document scroll. refactor the keyboard handler to a Function. 2022-07-22 15:47:05 +08:00
Lucas.Xu
6c811aef72
Merge branch 'feat/flowy_editor' into feat/flowy_editor 2022-07-22 10:37:01 +08:00
Lucas.Xu
34a1da8450 chore: delete unused code 2022-07-22 09:44:20 +08:00
Lucas.Xu
c643c02887 feat: add keyboard example 2022-07-22 00:46:28 +08:00
Lucas.Xu
a831ddc589 refactor: abstract selection and keyboard from editor state 2022-07-22 00:16:34 +08:00
Lucas.Xu
eb97141859 feat: remove subtype render 2022-07-21 20:04:25 +08:00
Lucas.Xu
d200371002 feat: add keyboard and cursor 2022-07-21 17:56:56 +08:00
Lucas.Xu
e3e1d25494 feat: hide overlay when tap on the editor 2022-07-21 15:21:19 +08:00
Lucas.Xu
e2f35dd5cc feat: support selection overlay 2022-07-21 14:55:37 +08:00
Vincent Chan
f4bbe77612 feat: undo manager 2022-07-20 18:21:16 +08:00
Lucas.Xu
ce953d802a feat: duplicate selectable_text.dart from flutter and modify selection implement 2022-07-20 10:54:35 +08:00
Lucas.Xu
30483e9d1e chore: fix text_node_widget.dart build error 2022-07-19 21:41:48 +08:00
Lucas.Xu
730c85a0da
Merge branch 'feat/flowy_editor' into feat/flowy_editor 2022-07-19 21:30:27 +08:00
Vincent Chan
7b513a71a9 feat: handle Delete key 2022-07-19 18:40:43 +08:00
Vincent Chan
8c6c9f7c0d feat: transform betweens global/local cursor 2022-07-19 17:18:42 +08:00
Vincent Chan
abe0658cd3 feat: insert text at cursor 2022-07-19 15:24:51 +08:00