30 Commits

Author SHA1 Message Date
Vincent Chan
3e2883aa3b Merge branch 'feat/flowy_editor' into feat/handle-arrow-keys 2022-07-28 14:35:43 +08:00
Lucas.Xu
612e3dd50f feat: decorate TextSpan with global style 2022-07-28 12:10:19 +08:00
Lucas.Xu
985fe14a8b feat: update RichText render style 2022-07-28 11:41:39 +08:00
Lucas.Xu
c5560caf3c feat: import SvgPicture package to display SVG 2022-07-27 22:06:32 +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
Lucas.Xu
445ff561b5 feat: implement handler - press the enter key in the edge of text node 2022-07-27 14:43:45 +08:00
Lucas.Xu
84eed9e340 feat: refresh the selection when the metrics changed. 2022-07-27 12:16:23 +08:00
Lucas.Xu
c048c8f623 fix: compute wrong upward selection 2022-07-26 23:31:56 +08:00
Lucas.Xu
114ae2b45d feat: compute cursor and selection by [Selection] or [Offset] 2022-07-26 18:40:53 +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
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
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
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
e2f35dd5cc feat: support selection overlay 2022-07-21 14:55:37 +08:00
Lucas.Xu
de06188c5e feat: rebuild the widget when node changed. 2022-07-18 13:14:50 +08:00
Lucas.Xu
6eb347a096 feat: Add node validator and update op methods 2022-07-14 13:59:05 +08:00
Lucas.Xu
5ad7845189 feat: 1. move render plugins to editor state 2. support get node's path 3. format code 2022-07-13 18:34:30 +08:00
Lucas.Xu
55ca05f30e feat: support subtype render plugin and add text with check-box example 2022-07-13 16:31:26 +08:00
Lucas.Xu
05786d1255 feat: pass BuildContext to NodeWidgetBuilder 2022-07-13 10:52:42 +08:00
Lucas.Xu
88f73bfbd4 chore: add comment to RenderPlugins 2022-07-13 10:28:52 +08:00
Lucas.Xu
cf0da22d63 refactor: abstract node widget builder 2022-07-12 21:27:13 +08:00
Lucas.Xu
a298348def feat: add render plugins and example 2022-07-12 17:30:32 +08:00