Commit graph appflowy-editor/test
Author SHA1 Message Date
Lucas
ab977f9568
feat: support skipping slice attributes (#901)
* feat: skip slicing the next inserted text if the previous text has been formatted

* test: skip slicing attribute test

* feat: reset slice flag when updating selection
2024-09-26 16:26:12 +08:00
Lucas
8582191b06
feat: support moving a block to become a child of another block (#896)
* feat: support moving a block to become a child of another block

* fix: disable moving a block to its children

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* chore: update example/lib/pages/drag_to_reorder_editor.dart

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>

* feat: optimize moving logic

---------

Co-authored-by: Mathias Mogensen <42929161+Xazin@users.noreply.github.com>
2024-09-20 16:09:03 +08:00
Lucas
b888202b9b
fix: backquote key will cause crash when using French IME (#892) 2024-09-13 19:23:39 +08:00
Lucas.Xu
72512df842
chore: hide Log and PlatformExtension (#886) 2024-09-11 17:51:53 +08:00
LinJi
c3c700524c
fix: document getting first or last node exception (#885) 2024-09-11 17:51:35 +08:00
Lucas.Xu
44989c568e
feat: optimize the table node parse steps and add logs (#875)
* feat: optimize the table node parse steps and add logs

* feat: support table cell node construtor

* fix: widget test
2024-09-04 13:57:46 +08:00
Lucas.Xu
8e17d1447e
feat: optimize table update (#869)
* feat: optimize table update

* fix: combine the table transactions
2024-08-16 10:52:48 +08:00
Mohammad Zolfaghari
ede8187efc
fix: enable converting multilne to list (#860)
currently only its possible to convert single line to bullet or
numbered list.
changed the active check function to also show list items in toolbar
when multiple text lines are selected.
2024-08-10 10:58:09 +08:00
Lucas.Xu
221056ece3
chore: expose text operation functions (#861) 2024-08-09 12:00:25 +08:00
nathan
4d93dfbded chore: fix test 2024-07-27 16:38:45 +08:00
Lucas.Xu
8b9ccf83fd
fix: render issue of nested list (#838)
* fix: render issue of nested list

* fix: table board doesn't show in readonly mode

* fix: ci tests
2024-07-04 16:58:57 +08:00
Juliano Penna
6a983808c8
feat: use format of wrapping node when pasting plain text (#692)
* fix: paste plain text follows destination formatting

* test: paste plain text

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-07-04 11:53:43 +08:00
Lucas.Xu
c25ae11f18
feat: enable selection in readonly mode (#837)
* feat: enable selection in readonly mode

* fix: test
2024-07-04 11:23:55 +08:00
Lucas.Xu
5bf6c7acd0
feat: support custom markdown parsers (#835)
* feat: support custom markdown parsers

* fix: markdown test

* feat: add markdown quote parser

* chore: use markdown parser

* chore: parse unordered list, to_do list and quote

* feat: add a markdown editor example

* feat: add bulleted list parser

* feat: support nested list and img

* feat: support code block

* feat: support table parser

* chore: refacotr code

* fix: flutter analyze

* chore: add more tests and remove unused files

* fix: test
2024-07-04 09:53:25 +08:00
Mathias Mogensen
8279a37ead
feat: undo markdown style (#830)
* feat: undo style of markdown and retain characters

* test: add tests

* test: macos meta instead of control
2024-06-21 13:14:31 +02:00
Steve
6ae91598f0
fix: markdown to document with image url having properties after extension (#795) 2024-06-04 16:06:47 +08:00
Lucas.Xu
cfd41d49a0
fix: remove heading node validation (#803) 2024-05-20 10:59:53 +08:00
Lucas.Xu
796d1249fe
chore: upgrade Flutter to 3.22.0 (#797) 2024-05-14 14:05:38 +08:00
Lucas.Xu
d9e6178859
fix: update selection from the delta (#788) 2024-05-04 10:38:15 +08:00
Lucas.Xu
1d5cdb7581 fix: numbered list doesn't increase when exporting html (#785) 2024-04-26 21:04:51 +08:00
Lucas.Xu
28655b4873
chore: upgrade flutter dependencies (#778)
* chore: upgrade dependecies to major version

* fix: remove paste as html feature
2024-04-26 16:46:22 +08:00
Lucas.Xu
5d4f2367a3
feat: support customizing mobile page style (#769)
* feat: customize the list icons

* test: fix tests
2024-04-16 17:30:51 +08:00
q200892907
a9ef209c55
feat: add table style (#766) 2024-04-16 15:41:08 +08:00
Lucas.Xu
61d892a09c
feat: support auto complete for text block (#764)
* feat: support auto complete for text block

* feat: support auto complete for text block

* test: add auto complete test

* feat: support tab to auto complete

* chore: optimize the code

* chore: update token
2024-04-11 10:48:12 +08:00
Lucas.Xu
c8cd4071e3
feat: combine diff operations (#759) 2024-04-08 11:52:45 +08:00
Mathias Mogensen
c97842ae91
feat: add more gesture interceptors (#757) 2024-04-04 13:51:05 +02:00
Lucas.Xu
b927ec0685
feat: support remote selections (#753)
* chore: delete deprecated code

* feat: support remote seleciton

* feat: support selection flag
2024-03-27 17:01:34 +08:00
Lucas.Xu
cbb33469cd
feat: add diff document/nodes function (#748)
* feat: transform operations

* feat: add document diff function
2024-03-19 17:38:14 +08:00
Lucas.Xu
cbd92c4cd1
feat: disable converting heading block to numbered list block (#740) 2024-03-11 10:42:52 +08:00
Ming Li
ce391a8c0f
fix: xtra space from numbered list item (#724) 2024-03-07 10:19:38 +08:00
Old Autumn
0ad1986cd9
fix: transfer the whole line into link when text contains url (#693) (#737) 2024-03-06 10:58:47 +08:00
Lucas.Xu
d4d35c0d10
fix: flutter anlayze (#730) 2024-02-28 11:03:29 +08:00
Lucas.Xu
a52a2e7990
chore: reanme highlight color to background color (#729) 2024-02-28 10:57:13 +08:00
Lucas.Xu
5e5b908e78
fix: resolve data loss issue during block type conversion (#726)
* fix: resolve data loss issue during block type conversion

* fix: flutter test

* test: add more tests
2024-02-26 09:44:43 +08:00
dagyu
763459b516
fix: the positioning of the slash command menu in the web version (#709) 2024-02-18 21:57:31 +08:00
Sean Riley Hawkins
96fc5b5ab0
fix: unable to export image block in markdown format (#713)
* fix: replace image_src with url attribute solves (null) bug on export

* test: change test attribute value

* Update lib/src/plugins/markdown/encoder/parser/image_node_parser.dart

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-02-18 11:54:43 +08:00
Mathias Mogensen
66762ef9a0
feat: debounce on word count service (#711)
* feat: debounce on word count service

* test: add pump for debounce in test
2024-02-12 00:27:10 +01:00
Mathias Mogensen
e09bde476b
feat: on demand word count without listening (#710) 2024-02-08 21:25:48 +01:00
Mathias Mogensen
63844fd121
feat: support selection counters (#706)
* feat: support selection counters

* feat: improve
2024-02-08 10:46:45 +01:00
Mathias Mogensen
9c27b8e309
feat: word counter service (#705)
* feat: word counter service

* chore: minor improvement

* test: add expect for stop()

* fix: code review
2024-02-07 16:30:27 +01:00
Old Autumn
3679647a95
fix: fix checkbox not work as expected in html module. (#700)
* add support for breakline

* add test for br tag parse

* fix test failure case.

* feat: add  html support

* fix: todo list(checkbox) not work as expected
2024-02-01 17:16:17 +08:00
Steve
0d8f755c80
feat: add contentInsertionConfiguration to editor and text input service (#691)
* Add contentInsertionConfiguration to editor and text input service

* add unit tests

* feat(editor): add contentInsertionConfiguration
2024-01-30 09:59:26 +08:00
Old Autumn
2c5d5c7ba4
fix: add support for breakline and divider (#690)
* add support for breakline

* add test for br tag parse

* fix test failure case.

* feat: add  html support
2024-01-30 09:41:25 +08:00
Juliano Penna
84e5adc199
chore: translate commands (#687)
* feat: translate commands descriptions

* feat: allow for commands without description
2024-01-30 09:35:36 +08:00
Juliano Penna
7d8147c78d
fix: pasting keeps current node type (#689) 2024-01-26 10:45:41 +08:00
Juliano Penna
7fe3ff7801
chore: localize more items (#680)
* fix: localize tooltips from toolbar items

* fix: Localize shortcut descriptions

* refactor: reorder able menu entries

* fix: update translation if locale changes

* feat: translate all pt-BR

* docs: explain how to change locales

* ci: fix failing unit test
2024-01-25 23:43:02 +08:00
q200892907
b7c381e495
feat: optimize Enter operation (#673)
* outdentCommand is called when the node path is greater than 1

* feat:add test

* feat:update test
2024-01-15 15:29:51 +08:00
Pit Hüne
a856888269
feat: parse nested numbered list (#674) 2024-01-15 15:29:36 +08:00
Jayaprakash
dccd4e8e72
feat: support formatting greater hyphen to single arrow (#665)
* feat: support formatting greater hyphen to single arrow

* refactor: renamed test group description

* refactor: formatted code file using dart formatter

* refactor: removes GreaterHyphen shortcut event from standard shortcuts

* fix: enable formatGreaterHyphen shortcut in test mode

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-01-14 22:47:19 +08:00
Yijing Huang
3feff00932
feat: backslash to ignore shortcut event (#635)
* feat: backslash to ignore shortcut event

* refactor: refactor format single char logic

* fix: avoid single char formating when in the double chars formatting situation

* fix: refactor the single char formating logic

* test: add test for back slash ignore shortcut cases

* test: add tests for ignoring space enabled shortcut events

* test: add test for checkbox shortcut ignore
2024-01-13 23:26:45 +08:00