Commit graph appflowy-editor/lib/src/editor
Author SHA1 Message Date
Lucas.Xu
c064543e0e
fix: stabilize rendering for nested lists beyond level 1 (#855) 2024-08-05 10:34:56 +08:00
Lucas.Xu
7202c34072
feat: support disabling keyboard & scroll service (#852) 2024-07-31 15:23:15 +08:00
Lucas.Xu
5bf57ad7ab
chore: support disabling selection gesture (#851) 2024-07-30 22:27:09 +08:00
nathan
4d93dfbded chore: fix test 2024-07-27 16:38:45 +08:00
nathan
218c7c82ba chore: support single column slash menu 2024-07-27 14:40:40 +08:00
Mathias Mogensen
268aae905b
fix: refine position of drop target line (#849) 2024-07-25 23:32:34 +02:00
Mathias Mogensen
819e579afd
feat: render drop target (#848)
* feat: expose method to render drop target

* feat: add style to drop target

* feat: add DropTargetRenderData for more concise control

* fix: split up rendering and data fetching

* chore: clean unused code

* chore: remove unused example code for testing
2024-07-25 20:20:14 +02:00
zuvola
61d4363b46
fix: error in file selection (#844) 2024-07-22 16:47:51 +08:00
渐行渐远_KM
93905e0eab
fate: magnifier should be fully displayed at the edge of the editor without being cropped, just like the TextFiled magnifier (#846) 2024-07-22 16:47:30 +08:00
Lucas.Xu
89eee5da37
fix: force unwrap error (#847) 2024-07-22 16:46:47 +08:00
Lucas.Xu
d2d987312d
feat: customize shortcuts in readonly mode (#840) 2024-07-10 16:09:43 +08:00
Lucas.Xu
7f05000bce
fix: the toolbar will be blocked if the scroll bar is hidden (#839) 2024-07-05 17:10:22 +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
e8ee051719
fix: handwriting ime doesn't work (#832) 2024-06-24 10:47:49 +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
Mathias Mogensen
52b4959739
fix: add code to support sliced (#829) 2024-06-21 09:43:24 +02:00
Lucas.Xu
57824fff9c chore: bump version 3.0.0 2024-06-19 16:49:43 +08:00
Lucas.Xu
64c0be88a1
fix: cursor height is inconsistent after upgrading to Flutter 3.22 (#827) 2024-06-19 16:25:41 +08:00
Lucas.Xu
d6388a4857
fix: underscore markdown syntax assertion (#826) 2024-06-19 11:42:50 +08:00
Mayur Mahajan
b8b6206021
fix: content jumping down and scrolling getting locked. (#821)
* refactor: remove unnecessary jumpTo call

* chore: remove unused variables
2024-06-19 11:05:49 +08:00
Mathias Mogensen
98a49adede
feat: command improvement (#825)
* feat: make it possible to clear a command

* fix: make table commands public

* fix: growable list
2024-06-18 23:08:36 +02:00
Lucas.Xu
b5da6e4afc Revert "fix: incorrect cursor position after new line (#817)"
This reverts commit 3cd2aae003.
2024-06-17 15:59:29 +08:00
Lucas.Xu
d73e8893d1 fix: mobile toolbar UI shift (#818) 2024-06-11 11:18:22 +08:00
Lucas.Xu
3cd2aae003
fix: incorrect cursor position after new line (#817) 2024-06-11 09:54:37 +08:00
Mohammad Zolfaghari
067c8e7dfe
refactor: separated determineTextDirection function (#809)
* feat: support customizing line height (#806)

* refactor: separated determineTextDirection function

* style: fix unnecessary_import

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-05-29 14:36:32 +07:00
Lucas.Xu
0c79b87058 feat: support customizing line height (#806) 2024-05-22 20:18:33 +08:00
Lucas.Xu
7fab6ff7bf
fix: cursor height is not consistent (#805) 2024-05-22 16:49: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
Mathias Mogensen
1ceed9b4d2
fix: empty items disable context menu (#793) 2024-05-10 16:41:07 +02:00
Lucas.Xu
dccda4284f
fix: cjk IME issues on Linux (#791) 2024-05-06 09:32:50 +08:00
Lucas.Xu
d9e6178859
fix: update selection from the delta (#788) 2024-05-04 10:38:15 +08:00
Lucas.Xu
f49e733615
feat: support option/cmd + click to open link (#787) 2024-05-02 10:53:22 +08:00
Lucas.Xu
b377c878c3
fix: improve link menu position (#786) 2024-05-02 10:47:29 +08:00
Richard Shiue
90260d3824
feat: improve mobile selection (#776)
* chore: don't debounce by default

* chore: add platform-specific tap selection handlers

* chore: show floating toolbar after scroll end

* chore: use voidcallback

* chore: add configurable setting for ios tap selection
2024-04-26 16:57:44 +08:00
Lucas.Xu
c8f1c12999
chore: provide an option to disable color parser (#784)
* chore: provide an option to disable color parser

* feat: support table cell color
2024-04-26 16:57:20 +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
6d12761929
fix: unable to select multiple words (#761) 2024-04-08 20:35:23 +08:00
Lucas.Xu
e83378cc65
fix: filter invalid text editing value (#760) 2024-04-08 15:30:46 +08:00
Lucas.Xu
a9c77a918b
fix: delta insert error (#758)
* fix: delta insert error

* fix: selection / cursor error
2024-04-08 09:15:27 +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
a571f2bc9d
fix: late initialization error (#750) 2024-03-20 12:03:34 +08:00
Lucas.Xu
2493d9b920
feat: customize auto scroll offset on mobile (#743) 2024-03-14 23:15:05 +08:00
Lucas.Xu
ecec65f1db
fix: render paragraph hot reload error (#742) 2024-03-14 20:28:12 +08:00
Lucas.Xu
cbd92c4cd1
feat: disable converting heading block to numbered list block (#740) 2024-03-11 10:42:52 +08:00