Commit graph

854 commits

Author SHA1 Message Date
Lucas.Xu
c2a86db82d fix: color options missing 2023-05-23 14:08:31 +08:00
Lucas.Xu
287fab1a86 fix: numbered list icon color and text style 2023-05-23 13:53:18 +08:00
Lucas.Xu
31bfd5da5c feat: implement editor migration 0.1.x -> 0.2.0 2023-05-22 23:33:51 +08:00
Lucas.Xu
176cb2e801 fix: block action error 2023-05-22 19:31:48 +08:00
Lucas.Xu
159c97b9b0 fix: cover align error 2023-05-22 16:52:01 +08:00
Lucas.Xu
b29d053924 fix: flutter analyze and dart lint 2023-05-22 14:51:57 +08:00
Lucas.Xu
6851f045c1 fix: paragraph block backgroud color 2023-05-22 09:13:06 +08:00
Yijing Huang
ac1723171b
fix: overflow error in mobile (#6) 2023-05-20 17:43:38 +07:00
Lucas.Xu
b1a1b14f35 feat: format " to quote 2023-05-16 22:20:22 +08:00
Lucas.Xu
a95055f1b6 fix: the toolbar location won't refresh when resizing 2023-05-16 20:55:30 +08:00
Lucas.Xu
ffc7673c35 fix: the toolbar overflow 2023-05-16 20:50:51 +08:00
Lucas.Xu
edd56ebf39 fix: line height error 2023-05-16 19:38:44 +08:00
Lucas.Xu
fc3f2a952f feat: support paste plain text 2023-05-16 19:15:14 +08:00
Lucas.Xu
65d264731b feat: implement copy & paste and refactor toolbar item 2023-05-16 18:57:53 +08:00
Lucas.Xu
dd02883da4 feat: customize the slash command 2023-05-16 17:32:43 +08:00
Lucas.Xu
d7ce4bbd4b fix: floating toolbar flickering 2023-05-16 16:19:23 +08:00
Lucas.Xu
65755e58df feat: support line height and selection radiux 2023-05-16 16:03:53 +08:00
Lucas.Xu
4f66f77deb fix: add toList to prevent the redundant copy of the nodes when looping 2023-05-16 11:15:30 +08:00
Lucas.Xu
6e23fabcc2 feat: close the transaction subscription 2023-05-16 10:20:43 +08:00
Lucas.Xu
8fa6a64604 Merge remote-tracking branch 'origin/main' into mobile 2023-05-15 20:28:36 +08:00
Daniyar Nurmukhamet
51c9264d6d
fix: fixed image placeholder border color (#119) 2023-05-15 20:18:52 +08:00
Yijing Huang
8488c866b8
feat: add reset to default text color and improve text (#5) 2023-05-15 20:16:26 +08:00
Lucas.Xu
a9b992877a fix: convert type will miss the color 2023-05-15 14:34:34 +08:00
Lucas.Xu
fdd25d859e feat: customize the heading style 2023-05-15 14:23:44 +08:00
Lucas.Xu
f22b9d5f33 feat: add block selection 2023-05-15 14:14:07 +08:00
Lucas.Xu
8ee2e83a6e feat: remove the unused padding 2023-05-15 13:56:24 +08:00
Lucas.Xu
3dba5d4729 feat: cutomize the padding 2023-05-15 13:38:53 +08:00
Lucas.Xu
d71e5b0b03 fix: color extension color 2023-05-15 11:40:00 +08:00
Lucas.Xu
ffc3b5b4cc feat: support background color 2023-05-15 11:29:12 +08:00
Lucas.Xu
ec80d59483 chore: export background color mixin 2023-05-14 12:19:00 +08:00
Lucas.Xu
7863e147b4 feat: support background color 2023-05-14 12:18:07 +08:00
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
d3394cbc60 chore: bump version 0.1.12 2023-05-10 10:36:35 +08:00
Lucas.Xu
5b0059e18f chore: bump version 0.1.11 2023-05-10 10:30:54 +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