appflowy-editor/test
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lucas 301d0fa579
fix: prevent documentToMarkdown from mutating source document (#1184)
* fix: prevent documentToMarkdown from mutating source document

convertNodes() was calling pageNode(children: nodes) which triggered
Node's constructor to unlink() each child from its original parent,
orphaning nested list items in the source document.

Fix by deep-copying nodes before passing them to pageNode().

Fixes https://github.com/AppFlowy-IO/AppFlowy/issues/8486

* chore: add regression test for issue #8486

Verifies that documentToMarkdown() does not orphan children of nested
list items in the source document after conversion.
2026-02-23 16:01:58 +08:00
..
core feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
customer feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
editor feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
extensions feat: support customizing link button (#1048) 2025-03-03 16:53:25 +08:00
infra feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
l10n feat: add image block 2023-05-03 14:50:41 +08:00
legacy fix: missing a required trailing comma 2023-09-13 15:26:29 +08:00
mobile feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
new feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
performance test: add performance tests (#1166) 2025-12-08 15:33:25 +08:00
plugins fix: prevent documentToMarkdown from mutating source document (#1184) 2026-02-23 16:01:58 +08:00
render fix: support custom non-standard urls (#1042) 2025-02-27 14:21:00 +08:00
service feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
editor_state_test.dart feat: integrate awesome_lints and upgrade to Flutter 3.38 (#1173) 2025-12-23 15:12:57 +08:00
test_helper.dart test: improve test coverage (#23) 2023-03-24 20:59:03 +08:00