Commit graph appflowy-editor/test
Author SHA1 Message Date
Ali Hassan
27b50e5c15
fix: nested elements getting ignored (#178)
* fix: nested elements getting ignored

* fix: quote block return single node

* fix:quote block element return quotenode
2023-06-11 14:21:21 +08:00
Ali Hassan
6677e2ae62
fix: editor document to html encoder added (#175)
* fix:added html document encoder

* code optimization

* code refactored

* correction of the html attributes variable
2023-06-09 14:30:29 +08:00
Lucas.Xu
f507c07bc4 fix: after selecting some text and typing a character, one more character will be deleted. 2023-06-07 22:18:28 +08:00
Gunjan Lunkad
eeae6fe818
feat: added divider to work with * (#118)
* feat: Added divider to work with *

* chore: Resolved the suggested changes

* refactor: removed the check for star character

* feat:added  character variable to insert divider .

* feat: support converting stars ** to divider

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-07 15:58:28 +08:00
Lucas.Xu
8c88b41244 feat: ignore delete op if it has been deleted 2023-06-07 10:35:39 +08:00
Lucas.Xu
55b92d278f fix: select all commmand doesn't work in nested list 2023-06-07 10:12:41 +08:00
Lucas.Xu
4cf9cd41ec fix: error in merging the text into the node which can't own children 2023-06-06 19:06:46 +08:00
Ali Hassan
a77b25aa50
fix: convert html to document (#152)
* fix:html to node converter fixes

* html tests added

* html decoder optimization

* feat: refactor code

* mobile platforms added

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2023-06-01 15:20:42 +08:00
Lucas.Xu
c573b9a80f
feat: rename delta and document (#153)
* chore: rename delta

* fix: rename attributes to data

* chore: rename document to page

* fix: flutter analyze
2023-06-01 14:43:12 +08:00
Lucas.Xu
2bc87a99bd fix: migrate html to node converter to latest changes 2023-05-31 13:00:59 +08:00
Mathias Mogensen
cbe2902373
chore: upgrade flutter to 3.10.1 (#136)
* chore: upgrade to flutter 3.10.1

* cicd: update actions

* fix: example application upgrade

* fix: formatting issues
2023-05-26 10:04:33 +08:00
Lucas.Xu
b29d053924 fix: flutter analyze and dart lint 2023-05-22 14:51:57 +08:00
Lucas.Xu
b1a1b14f35 feat: format " to quote 2023-05-16 22:20:22 +08:00
Lucas.Xu
65d264731b feat: implement copy & paste and refactor toolbar item 2023-05-16 18:57:53 +08:00
Lucas.Xu
8fa6a64604 Merge remote-tracking branch 'origin/main' into mobile 2023-05-15 20:28:36 +08:00
Lucas.Xu
d71e5b0b03 fix: color extension color 2023-05-15 11:40:00 +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
561884dc37 feat: support customize the slash menu item 2023-05-08 20:44:20 +08:00
Mathias Mogensen
c4102f0341
fix: nested text node parser (#115)
Closes: #112
2023-05-08 10:08:54 +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
f40306ddbc test: migrate the white_space_handler 2023-05-03 11:40:05 +08:00
Lucas.Xu
e3ec7412b6 test: migrate the tab_handler 2023-05-03 11:20:22 +08:00
Lucas.Xu
89e22f0d89 test: migrate the slash_handler 2023-05-03 11:10:17 +08:00
Lucas.Xu
fd1a1b1551 test: migrate page up and down 2023-05-02 23:08:38 +08:00
Lucas.Xu
0f4c5241b7 test: migrate scroll_service_test 2023-05-02 23:03:55 +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
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
Lucas.Xu
91a13cdcfa feat: implement arrow up and down key 2023-05-01 15:24:51 +08:00
Lucas.Xu
b7bdee4226 test: migrate arrow keys test 2023-05-01 15:13:55 +08:00
Lucas.Xu
53ccb967dd feat: implement home / end shortcut 2023-05-01 14:37:25 +08:00
Lucas.Xu
0aa0eb2429 test: migrate test/plugins 2023-05-01 12:38:01 +08:00