Commit Graph

418 Commits

Author SHA1 Message Date
Lucas.Xu
58856ccb1e feat: implement deleting text in multiple lines. 2022-08-01 11:29:04 +08:00
Lucas.Xu
c65f2e1b38 fix: delete text in single line 2022-08-01 10:42:38 +08:00
Lucas.Xu
d058f2d591 feat: bold the text by command/control + b/B 2022-07-31 17:16:07 +08:00
Lucas.Xu
b577489c2f feat: implement delete multiple text node and merge the text. 2022-07-31 16:14:12 +08:00
sky1095
fecc1ec31b fix: ProviderNotFound exception in overlay demo example 2022-07-31 13:36:52 +05:30
Lucas.Xu
89a0a5599e fix: cursor cannot be selected in same position. 2022-07-31 16:01:46 +08:00
Lucas.Xu
29fe4811c3 fix: selection areas could not overlay 2022-07-31 15:59:43 +08:00
Lucas.Xu
b245841ec3 feat: implement text delete 2022-07-30 00:00:10 +08:00
Lucas.Xu
575e01c909 feat: implement text replacement in singe selection 2022-07-29 23:27:39 +08:00
Lucas.Xu
55d46edeaf fix: node change notifier doesn't work 2022-07-29 23:16:56 +08:00
Lucas.Xu
c4b3c54a7c chore: format code 2022-07-29 15:45:49 +08:00
Lucas.Xu
966eea2179 chore: format code 2022-07-29 15:36:17 +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
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
David
8360dcdc82 feat: Add pl-PL translation
Add pl-PL.json including the new translation.
Updated app_widget.dart with the new language entry
Updated language.dart with the new language entry
2022-07-28 22:30:17 +02: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
b91c5d9c7b refactor: add hitTest method for selection service 2022-07-28 16:06:52 +08:00
Vincent Chan
1d3e5a9e8b feat: handle shift keys 2022-07-28 15:25:19 +08:00
Vincent Chan
883740d79a fix: assets of document 2022-07-28 15:02:50 +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
6b59050ef3
Merge pull request #726 from LucasXu0/feat/flowy_editor_input_service
feat: add input service to handle text editing.
2022-07-28 14:26:15 +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
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
appflowy
516e894c6a chore: borad ui 2022-07-25 17:21:37 +08:00
Lucas.Xu
2f86cac8af feat: Implement arrow up/down/left/right event handler. #708 2022-07-25 15:58:57 +08:00
kakzaki
22398985b6 fix: add indonesian translation 2022-07-25 13:35:16 +07: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
MikeWallaceDev
eda54719b1 chore: remove pubspec.lock generated by libraries. Keep the one in the application 2022-07-14 14:23:06 -04: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