Add label for links

This commit is contained in:
2026-09-09 21:47:34 +02:00
parent a64a5327e7
commit e7d8c6081b
10 changed files with 431 additions and 15 deletions
+5 -1
View File
@@ -267,11 +267,15 @@ impl App {
&mut self.doc,
NodeKind::Link {
url: "https://".to_owned(),
label: None,
},
at,
);
self.show_inspector = true;
self.set_status("Added a link node — set its URL in the inspector", ctx);
self.set_status(
"Added a link node — set its URL and display text in the inspector",
ctx,
);
}
fn insert_group(&mut self, ctx: &Context) {