Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Merge #305: Preserve explicit nullable text defaults when reopening documents

aiongg89ea36eb6c7f
diff --cc ROADMAP.md
index 6000572a6,b4883710b..fe001aa8d
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@@ -33,7 -11,7 +33,8 @@@ DesignCraft aims at full Adobe InDesig
## Recent improvements (2026-10-08)
+- QA1: Font rescans retry missing glyphs and fallback families after new fonts arrive; a controlled Linux regression covers older in-flight misses after a rescan.
+ - QA1: Explicit default text overrides survive native ZIP and legacy JSON reopening
## Status (2026-10-01)
diff --cc crates/doc/src/attrs.rs
index 5f0d518ff,9e8fe541f..b50bc3c97
--- a/crates/doc/src/attrs.rs
+++ b/crates/doc/src/attrs.rs
@@@ -886,13 -794,10 +895,13 @@@ attr_set!
/// Named list (Define Lists) the numbers belong to ("" = the story's own list).
list_name: String = String::new(),
/// Start At: restart the numbering at this number.
- start_at: Option<u32> = None,
+ start_at: Option<u32> = None => "deserialize_explicit_value",
bullet_char: String = "\u{2022}".into(),
number_style: NumberStyle = NumberStyle::Arabic,
- /// Text after the number/bullet (`^t` = tab).
+ /// A numbered paragraph's label: `^#` is the number, other metacharacters expand as in
+ /// [`expand_list_text`].
+ number_expression: String = "^#.^t".into(),
+ /// Text after the bullet (metacharacters expand as in [`expand_list_text`]).
list_separator: String = "\t".into(),
balance_ragged: bool = false,
optical_margin: bool = false,