fix(properties): preserve literal text

Separate numeric fields from names and content so only numeric property values are evaluated as expressions.

Refs #809
This commit is contained in:
Hakan Seven 2026-08-20 14:58:12 +03:00
commit 5e62da464e
15 changed files with 107 additions and 31 deletions

View file

@ -260,7 +260,7 @@ fn properties(t: &MText, text_style_names: &[String]) -> Vec<PropSection> {
Property {
label: t!("Contents").into_owned(),
field: "content",
value: PropValue::EditText(t.value.clone()),
value: PropValue::PlainText(t.value.clone()),
},
Property {
label: t!("Style").into_owned(),