Commit Graph

508 Commits

Author SHA1 Message Date
Vincent Chan
7ef053eb0d feat: copy multiple text 2022-08-03 19:50:39 +08:00
Vincent Chan
8da6faa74b feat: node traverser 2022-08-03 19:36:38 +08:00
Vincent Chan
2a6412f81a feat: copy from html 2022-08-03 18:18:04 +08:00
Lucas.Xu
1166d03b75 feat: update selection position after updating text node style. 2022-08-03 17:05:09 +08:00
Lucas.Xu
35bafbaadc feat: implement popup list service 2022-08-03 16:34:11 +08:00
Vincent Chan
290435b0ee feat: paste text inside text 2022-08-03 16:06:07 +08:00
Vincent Chan
e73465170a feat: paste html rich text inside text 2022-08-03 15:33:54 +08:00
Vincent Chan
aba84a3ccd feat: paste inside the TextNode 2022-08-03 15:33:54 +08:00
Vincent Chan
4e3e9d1a2c feat: paste hyper link 2022-08-03 15:33:54 +08:00
Vincent Chan
67fd06366e feat: handle HTMLElement 2022-08-03 15:33:54 +08:00
Vincent Chan
d283211671 feat: paste multi lines text 2022-08-03 15:33:54 +08:00
Vincent Chan
40c3f07be4 feat: use patch nodes 2022-08-03 15:33:54 +08:00
Vincent Chan
9ceced4648 feat: parse html 2022-08-03 15:33:54 +08:00
Vincent Chan
ee25f032db feat: copy & paste key event handlers 2022-08-03 15:33:54 +08:00
Lucas.Xu
a3bd9fd0e1 feat: expand rich text to handle gestures.
(cherry picked from commit ce1eca28e1b9a5ef443f1123ac1b33d89efb6788)
2022-08-03 10:08:49 +08:00
tsuiyuenhong
7de2f7fa49 Merge remote-tracking branch 'origin/main' into feat/flowy_editor 2022-08-03 09:04:16 +08:00
Nathan.fooo
114e58ff14
Merge pull request #414 from verebes1/main
feat: Add Polish translation
2022-08-03 08:17:01 +08:00
Lucas.Xu
c7432e640b feat: delay rendering selection(need to be refactored). 2022-08-02 20:22:39 +08:00
Lucas.Xu
397f43cbe1 feat: implement remove subtype if text node is empty when pressing enter key 2022-08-02 20:08:32 +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
5fdcdbd357 fix: bulleted-list typo 2022-08-02 17:15:07 +08:00
Lucas.Xu
fa05170c86 chore: fix test error 2022-08-02 16:25:35 +08:00
Lucas.Xu
56ac86fb51 chore: add some comments in image plugins. 2022-08-02 15:44:32 +08:00
Lucas.Xu
b913db2301 Merge remote-tracking branch 'origin/feat/flowy_editor' into feat/flowy_editor_input_service 2022-08-02 15:15:48 +08:00
Lucas.Xu
14bd18e21c feat: implement enter key event handler and keep attributes after insert 2022-08-02 14:27:16 +08:00
Lucas.Xu
1ba15b321b feat: implement revert text in toolbar service 2022-08-02 11:47:48 +08:00
Lucas.Xu
9b6afcc5c9 feat: implement heading, quote, bulleted_list in toolbar service 2022-08-02 11:42:16 +08:00
Lucas.Xu
b11a127432 feat: implement italic, strikethrough and underline in toolbar service 2022-08-02 11:01:58 +08:00
Lucas.Xu
ba78f0073d feat: implement bold text in toolbar service 2022-08-02 10:25:18 +08:00
Nathan.fooo
598a910c0c
Merge pull request #752 from LucasXu0/feat/flowy_editor_input_service
feat: implement toolbar UI part.
2022-08-02 09:55:10 +08:00
Lucas.Xu
5ecfc4ff2e feat: refactor the text editing code 2022-08-02 09:45:19 +08:00
Lucas.Xu
159fe63575 feat: implement edit text style by command + x 2022-08-01 22:41:30 +08:00
Vincent Chan
2f58c54b81 refactor: batch insert and delete nodes 2022-08-01 18:09:05 +08:00
Lucas.Xu
06cab949f2 chore: delete unused import, and sort the imports. 2022-08-01 18:05:19 +08:00
Lucas.Xu
846a273de8 feat: rename toolbar 2022-08-01 17:48:16 +08:00
Lucas.Xu
934cb6ab6b feat: implement toolbar UI part. 2022-08-01 17:42:37 +08:00
Vincent Chan
9b764731e7
Merge pull request #749 from AppFlowy-IO/feat/transaction-to-json
Feat: transaction to json
2022-08-01 17:20:56 +08:00
Vincent Chan
46dba122bd refactor: remove named parameters 2022-08-01 13:22:06 +08:00
Vincent Chan
5e86b83eee feat: fromJson 2022-08-01 12:41:51 +08:00
Vincent Chan
2e2de29789 feat: transaction to json 2022-08-01 12:05:28 +08:00
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
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