Commit graph appflowy-editor/test/plugins/html/html_document_test.dart
Author SHA1 Message Date
Lucas
f882d958d9
feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173)
* chore: update Flutter SDK to version 3.38.5

Upgrade Flutter from 3.32.4 to 3.38.5 to meet awesome_lints
requirement for Dart SDK 3.10.0+. Update CI workflow to use
the new Flutter version and add custom_lint verification step.

* chore: integrate awesome_lints with custom lint rules

Add awesome_lints and custom_lint dependencies, configure
analysis_options.yaml to enable newline lint rules: newline_before_case,
newline_before_constructor, newline_before_method, and newline_before_return.

* style: apply newline formatting per awesome_lints rules

Add blank lines before case clauses, return statements, method
declarations, and constructors throughout the codebase to comply
with awesome_lints newline rules.

* fix: replace deprecated translate with leftTranslateByDouble

Update Matrix4.translate() calls to use the new leftTranslateByDouble()
API to resolve deprecation warnings in Flutter SDK 3.38.5.

* chore: improve code readability with blank line formatting
2025-12-23 15:12:57 +08:00
Morn
c6909a7a04
fix: all the text pasted from google doc will be applied inline link format (#993) 2024-12-17 14:59:11 +08:00
Lucas
35f0f66370
fix: html decoder ignores h4-h6 tags (#932) 2024-10-16 10:22:40 +08:00
Lucas.Xu
c7d99913aa
feat: support Flutter stable channel (#581)
* feat: adjust toggle list block

* chore: upgrade Flutter to master channel

* chore: upgrade pbxproj

* fix: toolbar copy button not closing on mobile editor

* fix: formatting issues and add missing commas

* chore: add stable branch to GitHub Actions workflow

* chore: add missing trailing commas

* chore: adjust indentation padding in block component
configuration and unit tests
2023-11-08 13:46:33 +08:00
Lucas.Xu
b4c74fd3f7 fix: the text within the <mark> tag didn't parse correctly when pasting HTML. 2023-09-25 15:06:53 +08:00
Sun Jiao
1944ab7a29
chore: update l10n (#463) 2023-09-15 10:13:49 +02:00
Lucas.Xu
edcddd97b6 fix: the selection area of divider is overflow 2023-09-13 17:21:04 +08:00
Lucas.Xu
b602141d32 fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
Lucas.Xu
cf14e0de08 feat: paste from html 2023-08-17 13:08:19 +08:00
Ali Hassan
3ee7e31416
feat: html encode parser added (#314) 2023-07-20 12:06:00 +08:00
Mohammad Zolfaghari
f8da435ad5
feat: support RTL and auto direction (#191) 2023-07-12 10:51:38 +08:00
Lucas.Xu
435f1a6f9a
feat: support customizing image menu (#265) 2023-06-30 13:40:18 +08:00
Mukund Tandon
ed75bf61df
feat: support uploading images from local files (#232) 2023-06-28 19:59:59 +08:00
Lucas.Xu
3614cc5bf1
Revert "fix: copy handler migrated to latest api (#192)" (#236)
This reverts commit ad838cfa86.
2023-06-22 10:04:42 +08:00
Ali Hassan
ad838cfa86
fix: copy handler migrated to latest api (#192)
* fix: copy handler migrated to latest api

* flutter analyze

* code formatted

* fix: test added for copy handler

* more test added for copy handler

* fix:write test for copy handler

* text added for html to nodes

* fix: added more test for html encoder

* fix:removed unused imports

* fix: copyhandler collapse state test added

* added direct event handler in test

* flutter analyze

* revert changes in example.json
2023-06-20 17:12:14 +08:00
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
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