Commit Graph

386 Commits

Author SHA1 Message Date
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
9851b26f22 fix: transform error for path 2022-07-27 19:42:09 +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
Vincent Chan
982cd62fcc
Merge pull request #725 from AppFlowy-IO/feat/operation-transform
Feat: operation transform
2022-07-27 14:48:38 +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
Vincent Chan
033410aacd feat: transform operation in transaction builder 2022-07-27 13:56:49 +08:00
Vincent Chan
c72fead19c feat: operation transforming 2022-07-27 13:27:24 +08:00
Lucas.Xu
84eed9e340 feat: refresh the selection when the metrics changed. 2022-07-27 12:16:23 +08:00
Lucas.Xu
155b675dbe feat: implement input service(alpha) 2022-07-27 10:56:30 +08:00
Nathan.fooo
5dde868e0b
Merge pull request #722 from LucasXu0/feat/flowy_editor
chore: add selection_service documentation and resymbol shortcut service.
2022-07-27 10:21:05 +08:00
Lucas.Xu
c048c8f623 fix: compute wrong upward selection 2022-07-26 23:31:56 +08:00
Lucas.Xu
92675a1f48
Merge pull request #701 from AppFlowy-IO/feat/flowy_editor_documentation
chore: update operation documentation
2022-07-26 20:20:07 +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
appflowy
2661a6a4ae chore: update operation documentation 2022-07-24 10:14:51 +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
e16444f88e fix: make sure the state is implemnt selectable, otherwise return. 2022-07-22 10:43:47 +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
7ae153f5da fix(typo): comments of UndoManager 2022-07-21 11:47:41 +08:00
Vincent Chan
0626912a4c feat: add comment and fix issues 2022-07-21 11:06:39 +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
Lucas.Xu
fef9e20e46 chore: add heading widget to example 2022-07-19 14:31:10 +08:00
Lucas.Xu
4422d2b4d2
Merge branch 'AppFlowy-IO:feat/flowy_editor' into feat/flowy_editor 2022-07-19 10:56:25 +08:00
Vincent Chan
ac228a5316 refactor: better abstract style 2022-07-18 20:14:25 +08:00
Lucas.Xu
f526d29f59 chore: support https request in macOS platform. 2022-07-18 19:51:28 +08:00
Vincent Chan
f910b9dc61 feat: delta to string 2022-07-18 19:51:19 +08:00
Lucas.Xu
5cba777410
Merge branch 'AppFlowy-IO:feat/flowy_editor' into feat/flowy_editor 2022-07-18 19:42:35 +08:00
Lucas.Xu
9c43c465f8
chore: delete unused import 2022-07-18 19:38:42 +08:00
Vincent Chan
b75c142433 feat: re-export transaction_builder 2022-07-18 19:36:18 +08:00
Vincent Chan
e9ce4c5f05 fix: make the finish() function private 2022-07-18 18:39:44 +08:00
Vincent Chan
9307edb50d feat: transaction builder 2022-07-18 18:04:58 +08:00
Lucas.Xu
d5015f0dfb feat: add url_launcher into dependency 2022-07-18 17:44:37 +08:00
Vincent Chan
e92677d2ce Merge branch 'feat/flowy_editor' into feat/text-delta-to-text-span 2022-07-18 16:56:47 +08:00
Vincent Chan
4b7c997083 feat: text delta to text span 2022-07-18 16:47:38 +08:00
Lucas.Xu
de06188c5e feat: rebuild the widget when node changed. 2022-07-18 13:14:50 +08:00
Lucas.Xu
4d6bd2b77e
Merge branch 'AppFlowy-IO:feat/flowy_editor' into feat/flowy_editor 2022-07-16 20:09:50 +08:00
Lucas.Xu
1039c5517f fix: rebuilding node widgets when the subtype changes 2022-07-16 20:08:41 +08:00
Vincent Chan
def03273b8 test: invert 2022-07-15 12:17:46 +08:00
Vincent Chan
3cbac6f3f9 feat: invert delta 2022-07-15 11:51:58 +08:00
Lucas.Xu
6eb347a096 feat: Add node validator and update op methods 2022-07-14 13:59:05 +08:00
Lucas.Xu
00c628437d chore: (draft) support text node widget editing 2022-07-13 23:08:41 +08:00
Lucas.Xu
d07854ebb4 chore: update image node widget example 2022-07-13 20:31:36 +08:00
Lucas.Xu
085cc73ec5 chore: delete unused code 2022-07-13 20:05:34 +08:00
Lucas.Xu
7fad8ab3dc chore: run flutter test in flowy_editor_branch 2022-07-13 19:01:36 +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
Nathan.fooo
ea23739df4
Merge pull request #608 from LucasXu0/feat/flowy_editor
feat: support subtype render plugin and add text with check-box example
2022-07-13 16:32:10 +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
Nathan.fooo
bfca0a17e0
Merge pull request #606 from vincentdchan/feat/flowy_editor
feat: position and selection
2022-07-13 16:28:36 +08:00
Vincent Chan
de507001f4 fix: use UnmodifiableListView for OpIterator 2022-07-13 16:24:17 +08:00
Vincent Chan
f2c477e89f feat: change attributes map to dynamic 2022-07-13 16:05:42 +08:00
Vincent Chan
8bd748d7cd fix: unit tests 2022-07-13 16:05:42 +08:00
Vincent Chan
2881edd505 feat: implement text delta operation 2022-07-13 16:05:38 +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
e3c489612e feat: add image node widget in example 2022-07-12 18:39:47 +08:00
Lucas.Xu
a298348def feat: add render plugins and example 2022-07-12 17:30:32 +08:00
Vincent Chan
1b0c29ea09 feat: implement editor state operation 2022-07-12 13:48:33 +08:00
Vincent Chan
9c73a8cd9a feat: position and selection 2022-07-12 11:54:06 +08:00
Lucas.Xu
9e4227d3d2 test: add delete node test 2022-07-11 21:14:32 +08:00
Lucas.Xu
d2e62f882b feat: typedef Map<String, Object> to Attributes 2022-07-11 21:11:25 +08:00
Lucas.Xu
59d92a8ced feat: insert / delelte / update / search node in state tree 2022-07-11 20:37:12 +08:00
Lucas.Xu
47436bf6e2 feat: find node with path or index in state tree 2022-07-11 18:38:08 +08:00
Lucas.Xu
76999c6a46 feat: add flowy_editor package 2022-07-11 18:07:36 +08:00
appflowy
91418df940 chore: fix test errors 2022-07-04 16:38:35 +08:00
appflowy
cfadf42fe3 chore: fix import path 2022-07-04 15:55:48 +08:00
appflowy
e5f35e46ca chore: fix import path 2022-07-04 15:00:54 +08:00
appflowy
c1ea97c729 refactor: move entities from flowy-grid-data-model to flowy-grid crate 2022-07-01 20:32:11 +08:00
appflowy
6b85477421 chore: ignore dart event file 2022-06-15 23:19:25 +08:00
appflowy
812bca616c chore: ignore dart protobuf files 2022-06-15 20:14:55 +08:00
appflowy
4b71c474e4 refactor: separate proto file from src folder 2022-06-15 19:40:18 +08:00
appflowy
820b7fcb75 refactor: add grid view info 2022-06-15 17:37:50 +08:00
appflowy
a13e6798ee refactor: separate grid revision structs from entities 2022-06-15 16:26:14 +08:00
appflowy
d4d7ba7452 chore: read view info 2022-06-14 23:11:48 +08:00