Commit graph

1,308 commits

Author SHA1 Message Date
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
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
Steve
6ae91598f0
fix: markdown to document with image url having properties after extension (#795) 2024-06-04 16:06:47 +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
c2f6955aa9 chore: bump version 2.5.1 2024-05-22 09:50:47 +08:00
Lucas.Xu
f2eee696e1 chore: bump version 2.5.0 2024-05-22 09:50:06 +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
b827d089b6 chore: bump version 2.4.0 2024-05-06 09:44:23 +08:00
Lucas.Xu
dccda4284f
fix: cjk IME issues on Linux (#791) 2024-05-06 09:32:50 +08:00
q200892907
18425e2d40
fix: unable to include cjk in inline math equation (#781)
* fix:https://github.com/AppFlowy-IO/AppFlowy/issues/5189

* feat:add inlinAttributesBlacklist

* chore: use sliceAttributes instead of slice the attributes manually

---------

Co-authored-by: Lucas.Xu <lucas.xu@appflowy.io>
2024-05-06 09:16:03 +08:00
Lucas.Xu
d9e6178859
fix: update selection from the delta (#788) 2024-05-04 10:38:15 +08:00
Jacopo Guzzo
ffe4b08d0f
fix: incorrect cursor movement behaviour (#751) 2024-05-02 10:57:25 +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
Lucas.Xu
1d5cdb7581 fix: numbered list doesn't increase when exporting html (#785) 2024-04-26 21:04:51 +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
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
Mathias Mogensen
680ada4fd8
chore: bump version 2.3.4 (#770) 2024-04-17 10:09:28 +08:00
Mathias Mogensen
9c08658499
fix: count any non-whitespace character (#771) 2024-04-16 19:20:18 +02: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