40 Commits

Author SHA1 Message Date
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
c5e9008f4b feat: wrapping heading text with Padding instead of two SizeBoxs. 2022-07-29 10:42:00 +08:00
Lucas.Xu
e4c3a3ae84 feat: modify svg size 2022-07-29 10:38:02 +08:00
Lucas.Xu
7489455c20 chore: typo 2022-07-29 10:34:59 +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
Lucas.Xu
51bc965029 feat: add bulleted-list and number-list 2022-07-28 19:59:15 +08:00
Lucas.Xu
734b642fcc feat: add checkbox and heading style 2022-07-28 19:40:13 +08:00
Vincent Chan
2a09f69bec feat: double tap on text 2022-07-28 19:31:45 +08:00
Vincent Chan
0ba7c53dad feat: remove unused imports 2022-07-28 14:41:29 +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
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