Commit graph

1,286 commits

Author SHA1 Message Date
Lucas.Xu
cf9943e748
fix: platform.environment is not supported on web (#882) 2024-09-09 21:14:15 +08:00
kkundi
96ac065b63
fix: unsupported platform error on web (#881)
* fix: isMacOS unsupported platform issue

* fix: isIOS unsupported platform issue

* fix: remove unused import
2024-09-09 15:59:48 +08:00
Aleksei Ivanov
03bc9b44e8
feat: support more link types (#876)
* feat: add mailto link input support

* feat: add file link input support

* chore: update lib/src/editor/util/link_util.dart

* fix: unit test and code format

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-09-09 15:59:38 +08:00
Mayur Mahajan
2110fde62c
fix: regain focus after navigation arrows are used (#878)
* feat: retain focus to input field after navigation

* chore: add comment and use 10 ms instead of 1
2024-09-08 21:27:29 +08:00
Lucas.Xu
5eca3be663
feat: support moving cursor using keyboard gesture (#879) 2024-09-08 21:09:43 +08:00
Lucas.Xu
b6bfd111c0 chore: bump version 3.2.0 2024-09-04 15:26:34 +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
Mathias Mogensen
da0a56cf72
fix: context menu wrong offset (#874) 2024-09-03 20:26:42 +08:00
q200892907
0b6b17370e
fix: reset composing range if it's collapsed on macOS (#871) 2024-09-03 16:09:11 +08:00
Lucas.Xu
a64a5165e7
fix: table cell insertion error (#870) 2024-08-26 15:13: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
Lucas.Xu
9d3e854f11 fix: set keepEditorFocusNotifier when showing slash menu (#866) 2024-08-12 14:12:54 +08:00
Lucas.Xu
3d6aff0d21
chore: support disable auto scroll (#864) 2024-08-10 10:58:35 +08:00
q200892907
c013611a05
feat:update keyboard height (#854) 2024-08-10 10:58:23 +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
Mohammad Zolfaghari
bcc5a531ca
feat: paste list children nodes (#863)
* feat: paste list children nodes

also export copy paste extension so we can use it in AppFlowy

* fix: unnecessary import
2024-08-10 10:57:13 +08:00
Lucas.Xu
031777941c
feat: custom slash menu text style (#862) 2024-08-09 18:10:38 +08:00
Lucas.Xu
221056ece3
chore: expose text operation functions (#861) 2024-08-09 12:00:25 +08:00
Lucas.Xu
f2e499de09 feat: allow optional icon builder for selection menu items (#858) 2024-08-08 10:50:31 +08:00
Lucas.Xu
4536488faf chore: add toolbar id 2024-08-06 18:02:04 +08:00
Lucas.Xu
4c4cc415d5
feat: support customizing tooltip style (#856) 2024-08-06 17:14:06 +08:00
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.fooo
aac77292a1
Merge pull request #850 from AppFlowy-IO/support_singl_column
feat: support single column slash menu
2024-07-27 16:52:44 +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
e0d673afbb
fix: document from markdown contains html escaped text (#841) 2024-07-11 18:01:24 +08:00
Lucas.Xu
d2d987312d
feat: customize shortcuts in readonly mode (#840) 2024-07-10 16:09:43 +08:00
Lucas.Xu
0f5a4cb1b4 chore: bump version 3.1.0 2024-07-08 17:03:04 +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
Sean Riley Hawkins
f6ee2fc02c
feat: export document to PDF (#695)
* feat: create initial parser for PDF format

* chore: add comments to explain code.

* chore: commit missing file

* feat: init commit for pdf parser

* chore: bind dependancy to git repo fork for fixes

* feat: get basic text from parser

* feat: get textstyle working with various texts

* fix: ensure formatting(bold, italics) doesnt break paragraphs

- Remove additional comments.

* chore: remove htmltopdfwidgets dependancy

* chore: clean up redundant code and add helper functions

* chore: update example files to include pdf option for export

* fix: remove html exportFileType

* feat: add in image support

* feat: add image support for network & local image

* feat: enable table support

* fix: enable tables in pdf parser

- Tables are enabled but lists within a table are not working yet.
- There is also the case of strikethrough not working, probably it didnt get rendered as a tag.
- Cleaned up example.dart

* chore: clean up comments in files & unused imports.

* chore: remove unused file.

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-07-04 11:57:43 +08:00
Jacopo Guzzo
1f986ce1bc
fix: incorrect calculation of skip value in moveVertical (#790) 2024-07-04 11:56:51 +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
37432ea724
chore: remove macos 11 in test ci (#836) 2024-07-04 10:51:45 +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
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