Commit graph appflowy-editor/lib/src
Author SHA1 Message Date
Lucas.Xu
89c4044cae feat: support background color 2023-05-14 12:12:18 +08:00
Lucas.Xu
368fa079e0 feat: add move node operation 2023-05-14 10:06:12 +08:00
Lucas.Xu
86f95cb0d8 chore: implement block selection and delete option 2023-05-12 20:22:51 +08:00
Lucas.Xu
8cafe76e92 chore: optimize the editor_service 2023-05-12 19:35:15 +08:00
Lucas.Xu
b64909baac chore: implement option block action 2023-05-12 16:54:30 +08:00
Lucas.Xu
7f54299e2f feat: support hover block actions 2023-05-12 11:37:46 +08:00
Lucas.Xu
c964b2a07f chore: set padding for desktop 200 2023-05-11 23:02:15 +08:00
Lucas.Xu
c8d05b5fea chore: add the l10n 2023-05-11 22:58:02 +08:00
Lucas.Xu
7436707f15 feat: support updating root node 2023-05-11 22:45:50 +08:00
Yijing Huang
5c43d1daad
feat: migrate link menu and color picker (#4)
* chore: move selectionRects to editorState

* chore: delete unused attributeKey font

* feat: refactor showLinkMenu and LinkMenu

* feat: replace old linkMenu

* feat: add text color toolbar item
- separate text color and highlight color item in toolbar
- renaming in BuiltInAttributeKey(color -> textColor, backgroundColor -> highlightColor)
- add text color and highlight color attribute in example.json
- add icons for text color and highlight color in the toolbar

* feat: add highlight color item in toolbar
- add clear highlight color button
- add onDismiss in ColorPicker to remove the overlay after remove highlight color

* chore: delete old ColorPicker

* test: migrate link menu test

* chore: remove editorStyle from color menu and color picker

* test: add color picker test

* feat: remove editor style from link menu
- add utils function and widgets for overlay
- organize utils folder
- add constant text into AppFlowyEditorLocalizations
- improve pop up menu style

* feat: add show link menu command shortcut
- refactor CommandShortcutEventHandler
- update related callback

* feat: add showTextColorMenuCommand and showHighlightColorMenuCommand

* fix: fix merge error in example.json

* refactor: reorganize the file hierarchy

* refactor: migrate format_style_handler_test.dart
- delete format_style_handler_test.dart
- migrate to markdown_commands_test.dart
- move highlight test outside of markdown_commands_test

* feat: delete show menu type command shortcut and their tooltip

* fix: fix tooltip text

* chore: delete context from CommandShortcutEventHandler

* feat: add command shortcut for link menu

* test: add show link menu command test
2023-05-11 11:26:52 +08:00
Lucas.Xu
11f557d4dd chore: make variable const 2023-05-11 10:53:25 +08:00
Lucas.Xu
8733a33f39 chore: set empty textstyle as default 2023-05-10 19:48:07 +08:00
Lucas.Xu
8910ddb589 feat: filter the unused items 2023-05-10 19:31:26 +08:00
Lucas.Xu
17b77cb9c5 chore: public the full screen overlay entry 2023-05-10 14:22:36 +08:00
Lucas.Xu
b202528b45 fix: cursor error 2023-05-10 13:46:15 +08:00
Lucas.Xu
49f4bf1cc2 fix: request focus when selection gesture update 2023-05-09 20:24:16 +08:00
Lucas.Xu
561884dc37 feat: support customize the slash menu item 2023-05-08 20:44:20 +08:00
Lucas.Xu
0b80947c37 feat: filter the update op if the before and after is the same value 2023-05-08 15:55:02 +08:00
Simon Bengtsson
03617901a0
feat: allow textPadding customization (#108) 2023-05-08 10:09:58 +08:00
Mathias Mogensen
c4102f0341
fix: nested text node parser (#115)
Closes: #112
2023-05-08 10:08:54 +08:00
Lucas.Xu
77f549c4e9 feat: integrate into appflowy 2023-05-07 14:28:50 +08:00
Lucas.Xu
14ca76611a feat: improve the bulleted list 2023-05-04 16:37:30 +08:00
Lucas.Xu
bd854202bb fix: the placeholder text doesn't show 2023-05-04 16:26:37 +08:00
Lucas.Xu
1242c01828 feat: refactor the editor_service 2023-05-04 15:46:14 +08:00
Lucas.Xu
6821a19e4b feat: support customizing the block component 2023-05-04 14:53:51 +08:00
Lucas.Xu
8e878012a7 chore: refactor the node.dart 2023-05-04 10:35:54 +08:00
Lucas.Xu
c3aadf9f4a feat: refactor the node 2023-05-03 21:00:50 +08:00
Lucas.Xu
19ab87cf8a test: migrate all the test cases 2023-05-03 20:13:05 +08:00
Lucas.Xu
9f71058dac feat: migrate image node 2023-05-03 19:59:33 +08:00
Lucas.Xu
c599a4e7f1 feat: add image block 2023-05-03 14:50:41 +08:00
Lucas.Xu
40832bb7ca test: migrate test test/service 2023-05-03 13:54:12 +08:00
Lucas.Xu
b4e0a90cc6 test: migrate internal_key_event_handlers 2023-05-03 13:44:54 +08:00
Lucas.Xu
4883a38126 test: migrate redo and undo command 2023-05-03 12:01:34 +08:00
Lucas.Xu
79e7fc1c63 feat: add getDeltaAttributeValueInSelection 2023-05-03 10:52:08 +08:00
Lucas.Xu
fd1a1b1551 test: migrate page up and down 2023-05-02 23:08:38 +08:00
Lucas.Xu
22eafb7b66 test: migrate editor_service_test 2023-05-02 23:01:48 +08:00
Lucas.Xu
67de67ec73 test: migrate the page up and page down 2023-05-02 20:20:32 +08:00
Lucas.Xu
4a32d0a460 test: migrate the markdown_syntax_to_styled_text 2023-05-02 19:59:22 +08:00
Lucas.Xu
3020ce0c4c test: migrate the markdown_comamnds_test 2023-05-02 19:05:46 +08:00
Lucas.Xu
f2903bb034 test: migrate markdown commands 2023-05-02 18:44:52 +08:00
Lucas.Xu
4db30d8d09 test: migrate the escape key 2023-05-02 17:19:38 +08:00
Lucas.Xu
9be02bd3e9 test: migrate the enter key test 2023-05-02 17:14:26 +08:00
Lucas.Xu
0342668721 test: migrate the cursor_left_delete_handler.dart 2023-05-02 15:42:30 +08:00
Lucas.Xu
7bd8cba1fc test: migrate the checkbox_event_handler 2023-05-02 15:19:07 +08:00
Lucas.Xu
9bf6d554a1 test: migrate the backspace test 2023-05-02 14:54:06 +08:00
Lucas.Xu
a3464e1bf8 feat: implement insert a new line after todo list, bulleted list and numbered list 2023-05-02 12:51:36 +08:00
Lucas.Xu
e7a5c16dfa test: migrate the arrow keys test 2023-05-02 10:27:24 +08:00
Lucas.Xu
f8f9ec5d60 test: migration arrow keys test 2023-05-02 09:25:29 +08:00
Lucas.Xu
00481a9f24 feat: implement alt+arrow left / right 2023-05-01 22:32:52 +08:00
Lucas.Xu
e7e58f6e05 test: migration arrow keys test 2023-05-01 15:32:39 +08:00